diff options
| author | 2017-11-30 09:12:35 +0000 | |
|---|---|---|
| committer | 2017-11-30 09:12:35 +0000 | |
| commit | 8f8bd8bfce0f2433bc66ac90a471e5f58cd2e2cc (patch) | |
| tree | cbcfcee8846c8f9298b64f52e3523d2268e179ca /test/655-jit-clinit/src/Main.java | |
| parent | 111b7d409a3f77cb0d16bc1df74a3a698795c1d1 (diff) | |
| parent | 056d7756152bb3ced81dd57781be5028428ce2bd (diff) | |
Merge "Revert "Revert "Revert "JIT JNI stubs.""""
Diffstat (limited to 'test/655-jit-clinit/src/Main.java')
| -rw-r--r-- | test/655-jit-clinit/src/Main.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/655-jit-clinit/src/Main.java b/test/655-jit-clinit/src/Main.java index 2fb8f2a86e..44b315478f 100644 --- a/test/655-jit-clinit/src/Main.java +++ b/test/655-jit-clinit/src/Main.java @@ -23,7 +23,7 @@ public class Main { Foo.hotMethod(); } - public native static boolean hasJitCompiledEntrypoint(Class<?> cls, String methodName); + public native static boolean isJitCompiled(Class<?> cls, String methodName); private native static boolean hasJit(); } @@ -36,7 +36,7 @@ class Foo { static { array = new Object[10000]; - while (!Main.hasJitCompiledEntrypoint(Foo.class, "hotMethod")) { + while (!Main.isJitCompiled(Foo.class, "hotMethod")) { Foo.hotMethod(); try { // Sleep to give a chance for the JIT to compile `hotMethod`. |