In test/jtreg-ext/requires/VMProps.java I don't think these are used anymore with RTM removal.
/**
* @return "true" if compiler in use supports RTM and "false" otherwise.
* Note: Lightweight locking does not support RTM (for now).
*/
protected String vmRTMCompiler() {
boolean isRTMCompiler = false;
if (Compiler.isC2Enabled() &&
(Platform.isX86() || Platform.isX64() || Platform.isPPC()) &&
is_LM_LIGHTWEIGHT().equals("false")) {
isRTMCompiler = true;
}
return "" + isRTMCompiler;
}
/**
* @return true if VM runs RTM supported CPU and false otherwise.
*/
protected String vmRTMCPU() {
return "" + CPUInfo.hasFeature("rtm");
}
/**
* @return "true" if compiler in use supports RTM and "false" otherwise.
* Note: Lightweight locking does not support RTM (for now).
*/
protected String vmRTMCompiler() {
boolean isRTMCompiler = false;
if (Compiler.isC2Enabled() &&
(Platform.isX86() || Platform.isX64() || Platform.isPPC()) &&
is_LM_LIGHTWEIGHT().equals("false")) {
isRTMCompiler = true;
}
return "" + isRTMCompiler;
}
/**
* @return true if VM runs RTM supported CPU and false otherwise.
*/
protected String vmRTMCPU() {
return "" + CPUInfo.hasFeature("rtm");
}
- relates to
-
JDK-8329141 Obsolete RTM flags and code
-
- Resolved
-