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 NativeInvokeStatic2AotTest.so |
33 * @run driver compiler.aot.AotCompiler -libname NativeInvokeStatic2AotTest.so |
34 * -class compiler.calls.common.InvokeStatic |
34 * -class compiler.calls.common.InvokeStatic |
35 * -compile compiler.calls.common.InvokeStatic.callee.* |
35 * -compile compiler.calls.common.InvokeStatic.callee.* |
36 * @run main/othervm/native -XX:+UseAOT |
36 * @run main/othervm/native -XX:+UnlockExperimentalVMOptions -XX:+UseAOT |
37 * -XX:AOTLibrary=./NativeInvokeStatic2AotTest.so |
37 * -XX:AOTLibrary=./NativeInvokeStatic2AotTest.so |
38 * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. |
38 * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. |
39 * compiler.calls.common.InvokeStatic -nativeCaller -checkCalleeCompileLevel -1 |
39 * compiler.calls.common.InvokeStatic -nativeCaller -checkCalleeCompileLevel -1 |
40 * @summary check calls from native to aot code using invokestatic |
40 * @summary check calls from native to aot code using invokestatic |
41 */ |
41 */ |