hotspot/test/compiler/testlibrary/rtm/RTMTestBase.java
changeset 42882 67a0b78c7b59
parent 41705 332239c052cc
equal deleted inserted replaced
42881:5f53b4bc0c67 42882:67a0b78c7b59
   239         Collections.addAll(finalVMOpts, "-Xcomp", "-server",
   239         Collections.addAll(finalVMOpts, "-Xcomp", "-server",
   240                 "-XX:-TieredCompilation", "-XX:+UseRTMLocking",
   240                 "-XX:-TieredCompilation", "-XX:+UseRTMLocking",
   241                 CommandLineOptionTest.UNLOCK_DIAGNOSTIC_VM_OPTIONS,
   241                 CommandLineOptionTest.UNLOCK_DIAGNOSTIC_VM_OPTIONS,
   242                 CommandLineOptionTest.UNLOCK_EXPERIMENTAL_VM_OPTIONS,
   242                 CommandLineOptionTest.UNLOCK_EXPERIMENTAL_VM_OPTIONS,
   243                 "-Xbootclasspath/a:.", "-XX:+WhiteBoxAPI",
   243                 "-Xbootclasspath/a:.", "-XX:+WhiteBoxAPI",
   244                 "-XaddExports:java.base/jdk.internal.misc=ALL-UNNAMED");
   244                 "--add-exports", "java.base/jdk.internal.misc=ALL-UNNAMED");
   245 
   245 
   246         if (test != null) {
   246         if (test != null) {
   247             for (String method : test.getMethodsToCompileNames()) {
   247             for (String method : test.getMethodsToCompileNames()) {
   248                 finalVMOpts.add("-XX:CompileCommand=compileonly," + method);
   248                 finalVMOpts.add("-XX:CompileCommand=compileonly," + method);
   249             }
   249             }