diff options
| author | 2017-11-30 09:16:37 +0000 | |
|---|---|---|
| committer | 2017-11-30 09:16:37 +0000 | |
| commit | 61bca574a474c26e302bdbc0b23d3c311d218fc6 (patch) | |
| tree | cbcfcee8846c8f9298b64f52e3523d2268e179ca /test/655-jit-clinit/src/Main.java | |
| parent | da1ea1403227713c81e53e5334106f89d20767ed (diff) | |
| parent | 8f8bd8bfce0f2433bc66ac90a471e5f58cd2e2cc (diff) | |
Merge "Revert "Revert "Revert "JIT JNI stubs.""""
am: 8f8bd8bfce
Change-Id: Ie74a0ae3c130a4bde4fec8f92373d5a9df17663b
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`. |