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. |
31 * @run driver ClassFileInstaller sun.hotspot.WhiteBox |
31 * @run driver ClassFileInstaller sun.hotspot.WhiteBox |
32 * sun.hotspot.WhiteBox$WhiteBoxPermission |
32 * sun.hotspot.WhiteBox$WhiteBoxPermission |
33 * @run driver compiler.aot.AotCompiler -libname AotInvokeStatic2AotTest.so |
33 * @run driver compiler.aot.AotCompiler -libname AotInvokeStatic2AotTest.so |
34 * -class compiler.calls.common.InvokeStatic |
34 * -class compiler.calls.common.InvokeStatic |
35 * -extraopt -XX:+UnlockDiagnosticVMOptions -extraopt -XX:+WhiteBoxAPI -extraopt -Xbootclasspath/a:. |
35 * -extraopt -XX:+UnlockDiagnosticVMOptions -extraopt -XX:+WhiteBoxAPI -extraopt -Xbootclasspath/a:. |
36 * @run main/othervm -XX:+UseAOT -XX:AOTLibrary=./AotInvokeStatic2AotTest.so |
36 * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseAOT |
|
37 * -XX:AOTLibrary=./AotInvokeStatic2AotTest.so |
37 * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. |
38 * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. |
38 * compiler.calls.common.InvokeStatic |
39 * compiler.calls.common.InvokeStatic |
39 * -checkCallerCompileLevel -1 -checkCalleeCompileLevel -1 |
40 * -checkCallerCompileLevel -1 -checkCalleeCompileLevel -1 |
40 * @summary check calls from aot to aot code using invokestatic |
41 * @summary check calls from aot to aot code using invokestatic |
41 */ |
42 */ |