< prev index next >
src/hotspot/share/ci/ciEnv.hpp
Print this page
rev 51799 : 8216556: Unnecessary liveness computation with JVMTI
Reviewed-by: redestad, dlong, kvn
@@ -336,11 +336,13 @@
void set_break_at_compile(bool z) { _break_at_compile = z; }
// Cache Jvmti state
void cache_jvmti_state();
bool jvmti_state_changed() const;
- bool should_retain_local_variables() const;
+ bool should_retain_local_variables() const {
+ return _jvmti_can_access_local_variables || _jvmti_can_pop_frame;
+ }
bool jvmti_can_hotswap_or_post_breakpoint() const { return _jvmti_can_hotswap_or_post_breakpoint; }
bool jvmti_can_post_on_exceptions() const { return _jvmti_can_post_on_exceptions; }
// Cache DTrace flags
void cache_dtrace_flags();
< prev index next >