< prev index next >
src/hotspot/share/ci/ciEnv.cpp
Print this page
rev 60137 : 8227745: Enable Escape Analysis for Better Performance in the Presence of JVMTI Agents
Reviewed-by: mdoerr, goetz
*** 239,248 ****
--- 239,249 ----
_jvmti_can_hotswap_or_post_breakpoint = JvmtiExport::can_hotswap_or_post_breakpoint();
_jvmti_can_access_local_variables = JvmtiExport::can_access_local_variables();
_jvmti_can_post_on_exceptions = JvmtiExport::can_post_on_exceptions();
_jvmti_can_pop_frame = JvmtiExport::can_pop_frame();
_jvmti_can_get_owned_monitor_info = JvmtiExport::can_get_owned_monitor_info();
+ _jvmti_can_walk_any_space = JvmtiExport::can_walk_any_space();
return _task != NULL && _task->method()->is_old();
}
bool ciEnv::jvmti_state_changed() const {
// Some classes were redefined
*** 268,277 ****
--- 269,282 ----
}
if (!_jvmti_can_get_owned_monitor_info &&
JvmtiExport::can_get_owned_monitor_info()) {
return true;
}
+ if (!_jvmti_can_walk_any_space &&
+ JvmtiExport::can_walk_any_space()) {
+ return true;
+ }
return false;
}
// ------------------------------------------------------------------
< prev index next >