changeset 2276:01852aa3235d

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
author goetz
date Fri, 02 Sep 2016 15:04:47 +0200
parents 4ad4af1f5ce5
children 1d37ec5d3b9d
files test/lib/jdk/test/lib/Platform.java
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
     }