8165315: [ppc] Port "8133749: NMT detail stack trace cleanup"

Also add methods to check for slow/fastdebug to Platform.java.

Reviewed-by: simonis, cjplummer, dholmes
This commit is contained in:
Goetz Lindenmaier 2016-09-02 15:04:47 +02:00
parent 733176c0aa
commit 66dfee55f8

View File

@ -116,6 +116,14 @@ public class Platform {
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;
}