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:
parent
733176c0aa
commit
66dfee55f8
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user