1 /* |
1 /* |
2 * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
32 * sun.hotspot.WhiteBox$WhiteBoxPermission |
32 * sun.hotspot.WhiteBox$WhiteBoxPermission |
33 * @run driver compiler.aot.AotCompiler |
33 * @run driver compiler.aot.AotCompiler |
34 * -libname AotInvokeInterface2CompiledTest.so |
34 * -libname AotInvokeInterface2CompiledTest.so |
35 * -class compiler.calls.common.InvokeInterface |
35 * -class compiler.calls.common.InvokeInterface |
36 * -compile compiler.calls.common.InvokeInterface.caller()V |
36 * -compile compiler.calls.common.InvokeInterface.caller()V |
37 * @run main/othervm -Xbatch -XX:+UseAOT |
37 * @run main/othervm -Xbatch -XX:+UnlockExperimentalVMOptions -XX:+UseAOT |
38 * -XX:AOTLibrary=./AotInvokeInterface2CompiledTest.so |
38 * -XX:AOTLibrary=./AotInvokeInterface2CompiledTest.so |
39 * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. |
39 * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. |
40 * compiler.calls.common.InvokeInterface -compileCallee 1 |
40 * compiler.calls.common.InvokeInterface -compileCallee 1 |
41 * -checkCalleeCompileLevel 1 |
41 * -checkCalleeCompileLevel 1 |
42 * @run main/othervm -Xbatch -XX:+UseAOT |
42 * @run main/othervm -Xbatch -XX:+UnlockExperimentalVMOptions -XX:+UseAOT |
43 * -XX:AOTLibrary=./AotInvokeInterface2CompiledTest.so |
43 * -XX:AOTLibrary=./AotInvokeInterface2CompiledTest.so |
44 * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. |
44 * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. |
45 * compiler.calls.common.InvokeInterface -compileCallee 4 |
45 * compiler.calls.common.InvokeInterface -compileCallee 4 |
46 * -checkCalleeCompileLevel 4 |
46 * -checkCalleeCompileLevel 4 |
47 * @summary check calls from aot to jit-compiled code using invokeinterface |
47 * @summary check calls from aot to jit-compiled code using invokeinterface |