8165315: [ppc] Port "8133749: NMT detail stack trace cleanup"
authorgoetz
Fri, 02 Sep 2016 15:04:47 +0200
changeset 41041 9004ed3bcbd8
parent 40850 493990e5914c
child 41042 232489a7ac10
8165315: [ppc] Port "8133749: NMT detail stack trace cleanup" Summary: Also add methods to check for slow/fastdebug to Platform.java. Reviewed-by: simonis, cjplummer, dholmes
test/lib/jdk/test/lib/Platform.java
--- a/test/lib/jdk/test/lib/Platform.java	Sat Sep 10 12:18:30 2016 -0700
+++ b/test/lib/jdk/test/lib/Platform.java	Fri Sep 02 15:04:47 2016 +0200
@@ -116,6 +116,14 @@
         return (jdkDebug.toLowerCase().contains("debug"));
     }
 
+    public static boolean isSlowDebugBuild() {
+        return (jdkDebug.toLowerCase().equals("slowdebug"));
+    }
+
+    public static boolean isFastDebugBuild() {
+        return (jdkDebug.toLowerCase().equals("fastdebug"));
+    }
+
     public static String getVMVersion() {
         return vmVersion;
     }