|
32 | 32 | * @requires os.arch =="x86_64" | os.arch == "amd64" | os.arch=="x86" | os.arch=="i386"
|
33 | 33 | * @requires vm.gc.Epsilon
|
34 | 34 | * @summary test argument unpacking nmethod wrapper of critical native method
|
35 |
| - * @run main/othervm/native -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC -Xcomp -Xmx256M -XX:+CriticalJNINatives gc.CriticalNativeArgs |
| 35 | + * @run main/othervm/native -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC -Xcomp -Xmx256M |
| 36 | + * -XX:-CriticalJNINatives |
| 37 | + * gc.CriticalNativeArgs |
| 38 | + * @run main/othervm/native -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC -Xcomp -Xmx256M |
| 39 | + * -XX:+CriticalJNINatives |
| 40 | + * gc.CriticalNativeArgs |
36 | 41 | */
|
37 | 42 |
|
38 | 43 | /*
|
|
42 | 47 | * @requires os.arch =="x86_64" | os.arch == "amd64" | os.arch=="x86" | os.arch=="i386"
|
43 | 48 | * @requires vm.gc.Shenandoah
|
44 | 49 | * @summary test argument unpacking nmethod wrapper of critical native method
|
45 |
| - * @run main/othervm/native -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahGCMode=passive -XX:+ShenandoahDegeneratedGC -Xcomp -Xmx512M -XX:+CriticalJNINatives gc.CriticalNativeArgs |
46 |
| - * @run main/othervm/native -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahGCMode=passive -XX:-ShenandoahDegeneratedGC -Xcomp -Xmx512M -XX:+CriticalJNINatives gc.CriticalNativeArgs |
47 | 50 | *
|
48 |
| - * @run main/othervm/native -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive -Xcomp -Xmx512M -XX:+CriticalJNINatives gc.CriticalNativeArgs |
| 51 | + * @run main/othervm/native -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xcomp -Xmx512M |
| 52 | + * -XX:+UseShenandoahGC |
| 53 | + * -XX:-CriticalJNINatives |
| 54 | + * gc.CriticalNativeArgs |
| 55 | + * @run main/othervm/native -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xcomp -Xmx512M |
| 56 | + * -XX:+UseShenandoahGC |
| 57 | + * -XX:+CriticalJNINatives |
| 58 | + * gc.CriticalNativeArgs |
49 | 59 | *
|
50 |
| - * @run main/othervm/native -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -Xcomp -Xmx256M -XX:+CriticalJNINatives gc.CriticalNativeArgs |
51 |
| - * @run main/othervm/native -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:+UnlockExperimentalVMOptions -XX:ShenandoahGCMode=iu -Xcomp -Xmx512M -XX:+CriticalJNINatives gc.CriticalNativeArgs |
52 |
| - * @run main/othervm/native -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:+UnlockExperimentalVMOptions -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive -Xcomp -Xmx512M -XX:+CriticalJNINatives gc.CriticalNativeArgs |
| 60 | + * @run main/othervm/native -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xcomp -Xmx512M |
| 61 | + * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=passive -XX:+ShenandoahDegeneratedGC |
| 62 | + * -XX:+CriticalJNINatives |
| 63 | + * gc.CriticalNativeArgs |
| 64 | + * @run main/othervm/native -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xcomp -Xmx512M |
| 65 | + * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=passive -XX:-ShenandoahDegeneratedGC |
| 66 | + * -XX:+CriticalJNINatives |
| 67 | + * gc.CriticalNativeArgs |
| 68 | + * |
| 69 | + * @run main/othervm/native -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xcomp -Xmx512M |
| 70 | + * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive |
| 71 | + * -XX:+CriticalJNINatives |
| 72 | + * gc.CriticalNativeArgs |
| 73 | + * |
| 74 | + * @run main/othervm/native -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xcomp -Xmx512M |
| 75 | + * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu |
| 76 | + * -XX:+CriticalJNINatives |
| 77 | + * gc.CriticalNativeArgs |
| 78 | + * @run main/othervm/native -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xcomp -Xmx512M |
| 79 | + * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive |
| 80 | + * -XX:+CriticalJNINatives |
| 81 | + * gc.CriticalNativeArgs |
53 | 82 | */
|
54 | 83 |
|
55 | 84 | /*
|
|
58 | 87 | * @library /
|
59 | 88 | * @requires os.arch =="x86_64" | os.arch == "amd64" | os.arch=="x86" | os.arch=="i386" | os.arch=="ppc64" | os.arch=="ppc64le" | os.arch=="s390x"
|
60 | 89 | * @summary test argument unpacking nmethod wrapper of critical native method
|
61 |
| - * @run main/othervm/native -Xcomp -Xmx512M -XX:+CriticalJNINatives gc.CriticalNativeArgs |
| 90 | + * @run main/othervm/native -Xcomp -Xmx512M |
| 91 | + * -XX:-CriticalJNINatives |
| 92 | + * gc.CriticalNativeArgs |
| 93 | + * @run main/othervm/native -Xcomp -Xmx512M |
| 94 | + * -XX:+CriticalJNINatives |
| 95 | + * gc.CriticalNativeArgs |
62 | 96 | */
|
63 | 97 | public class CriticalNativeArgs {
|
64 | 98 | public static void main(String[] args) {
|
|
0 commit comments