equal
deleted
inserted
replaced
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. |
34 * @run driver ClassFileInstaller sun.hotspot.WhiteBox |
34 * @run driver ClassFileInstaller sun.hotspot.WhiteBox |
35 * sun.hotspot.WhiteBox$WhiteBoxPermission |
35 * sun.hotspot.WhiteBox$WhiteBoxPermission |
36 * @run driver compiler.aot.AotCompiler -libname AotInvokeDynamic2NativeTest.so |
36 * @run driver compiler.aot.AotCompiler -libname AotInvokeDynamic2NativeTest.so |
37 * -class compiler.calls.common.InvokeDynamic |
37 * -class compiler.calls.common.InvokeDynamic |
38 * -compile compiler.calls.common.InvokeDynamic.caller()V |
38 * -compile compiler.calls.common.InvokeDynamic.caller()V |
39 * @run main/othervm/native -XX:+UseAOT |
39 * @run main/othervm/native -XX:+UnlockExperimentalVMOptions -XX:+UseAOT |
40 * -XX:AOTLibrary=./AotInvokeDynamic2NativeTest.so |
40 * -XX:AOTLibrary=./AotInvokeDynamic2NativeTest.so |
41 * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. |
41 * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. |
42 * compiler.calls.common.InvokeDynamic -nativeCallee -checkCallerCompileLevel -1 |
42 * compiler.calls.common.InvokeDynamic -nativeCallee -checkCallerCompileLevel -1 |
43 * @summary check calls from aot to native code using invokedynamic |
43 * @summary check calls from aot to native code using invokedynamic |
44 */ |
44 */ |