< prev index next >

test/lib/jdk/test/lib/Platform.java

Print this page
rev 2242 : 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

*** 114,123 **** --- 114,131 ---- public static boolean isDebugBuild() { 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; } // Returns true for sparc and sparcv9.
< prev index next >