summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2017-01-31 00:01:38 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2017-01-31 00:01:39 +0000
commit202d9ac328d9e37cf956b473cc2c1083622df1a4 (patch)
tree5c0250277617261a3aed7a11c47b64257204e68c
parente0be2fe923649aa2d29dc71ff4331d2af692e3cf (diff)
parent5ecd5b7765e781b132c5de028bfac90255dc52b6 (diff)
Merge "Make wording of comment more precise."
-rw-r--r--test/916-obsolete-jit/src/Main.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/916-obsolete-jit/src/Main.java b/test/916-obsolete-jit/src/Main.java
index f4c45fc032..2b3296f1f2 100644
--- a/test/916-obsolete-jit/src/Main.java
+++ b/test/916-obsolete-jit/src/Main.java
@@ -133,7 +133,8 @@ public class Main {
return;
}
// Makes sure the stack is the way we want it for the test and does the redefinition. It will
- // set the retry boolean to true if we need to go around again due to a bad stack.
+ // set the retry boolean to true if the stack does not have a JIT-compiled sayHi entry. This can
+ // only happen if the method gets GC'd.
Runnable do_redefinition = () -> {
if (has_jit && Main.isInterpretedFunction(say_hi_method, true)) {
// Try again. We are not running the right jitted methods/cannot redefine them now.