8191401: [TESTBUG] serviceability/sa/ClhsdbFlags.java can fail due to UseJVMCICompiler
authorsballal
Tue, 21 Nov 2017 11:27:46 +0530
changeset 47918 a82c9f231737
parent 47917 9b196a8a5862
child 47919 66350f079368
8191401: [TESTBUG] serviceability/sa/ClhsdbFlags.java can fail due to UseJVMCICompiler Reviewed-by: dholmes, jgeorge
test/hotspot/jtreg/serviceability/sa/ClhsdbFlags.java
--- a/test/hotspot/jtreg/serviceability/sa/ClhsdbFlags.java	Mon Nov 20 10:10:58 2017 +0100
+++ b/test/hotspot/jtreg/serviceability/sa/ClhsdbFlags.java	Tue Nov 21 11:27:46 2017 +0530
@@ -48,7 +48,7 @@
             ClhsdbLauncher test = new ClhsdbLauncher();
             List<String> vmArgs = new ArrayList<String>();
             vmArgs.add("-XX:+UnlockExperimentalVMOptions");
-            vmArgs.add("-XX:+UseJVMCICompiler");
+            vmArgs.add("-XX:+UnlockDiagnosticVMOptions");
             vmArgs.add("-XX:-MaxFDLimit");
             vmArgs.addAll(Utils.getVmOptions());
             theApp = LingeredApp.startApp(vmArgs);
@@ -56,25 +56,24 @@
 
             List<String> cmds = List.of(
                     "flags", "flags -nd",
-                    "flags UseJVMCICompiler", "flags MaxFDLimit",
+                    "flags UnlockDiagnosticVMOptions", "flags MaxFDLimit",
                     "flags MaxJavaStackTraceDepth");
 
             Map<String, List<String>> expStrMap = new HashMap<>();
             expStrMap.put("flags", List.of(
-                    "UseJVMCICompiler = true",
+                    "UnlockDiagnosticVMOptions = true",
                     "MaxFDLimit = false",
                     "MaxJavaStackTraceDepth = 1024",
-                    "UseCompressedClassPointers", "VerifyMergedCPBytecodes",
+                    "VerifyMergedCPBytecodes",
                     "ConcGCThreads", "UseThreadPriorities",
-                    "UseInterpreter", "StartFlightRecording",
-                    "ShowHiddenFrames", "UseAppCDS"));
+                    "ShowHiddenFrames"));
             expStrMap.put("flags -nd", List.of(
-                    "UseJVMCICompiler = true",
+                    "UnlockDiagnosticVMOptions = true",
                     "MaxFDLimit = false",
-                    "UseCompressedClassPointers",
-                    "ConcGCThreads"));
-            expStrMap.put("flags UseJVMCICompiler", List.of(
-                    "UseJVMCICompiler = true"));
+                    "InitialHeapSize",
+                    "MaxHeapSize"));
+            expStrMap.put("flags UnlockDiagnosticVMOptions", List.of(
+                    "UnlockDiagnosticVMOptions = true"));
             expStrMap.put("flags MaxFDLimit", List.of(
                     "MaxFDLimit = false"));
             expStrMap.put("flags MaxJavaStackTraceDepth", List.of(