equal
deleted
inserted
replaced
236 _jvmti_redefinition_count = JvmtiExport::redefinition_count(); |
236 _jvmti_redefinition_count = JvmtiExport::redefinition_count(); |
237 _jvmti_can_hotswap_or_post_breakpoint = JvmtiExport::can_hotswap_or_post_breakpoint(); |
237 _jvmti_can_hotswap_or_post_breakpoint = JvmtiExport::can_hotswap_or_post_breakpoint(); |
238 _jvmti_can_access_local_variables = JvmtiExport::can_access_local_variables(); |
238 _jvmti_can_access_local_variables = JvmtiExport::can_access_local_variables(); |
239 _jvmti_can_post_on_exceptions = JvmtiExport::can_post_on_exceptions(); |
239 _jvmti_can_post_on_exceptions = JvmtiExport::can_post_on_exceptions(); |
240 _jvmti_can_pop_frame = JvmtiExport::can_pop_frame(); |
240 _jvmti_can_pop_frame = JvmtiExport::can_pop_frame(); |
|
241 _jvmti_can_get_owned_monitor_info = JvmtiExport::can_get_owned_monitor_info(); |
241 } |
242 } |
242 |
243 |
243 bool ciEnv::jvmti_state_changed() const { |
244 bool ciEnv::jvmti_state_changed() const { |
244 // Some classes were redefined |
245 // Some classes were redefined |
245 if (_jvmti_redefinition_count != JvmtiExport::redefinition_count()) { |
246 if (_jvmti_redefinition_count != JvmtiExport::redefinition_count()) { |
258 JvmtiExport::can_post_on_exceptions()) { |
259 JvmtiExport::can_post_on_exceptions()) { |
259 return true; |
260 return true; |
260 } |
261 } |
261 if (!_jvmti_can_pop_frame && |
262 if (!_jvmti_can_pop_frame && |
262 JvmtiExport::can_pop_frame()) { |
263 JvmtiExport::can_pop_frame()) { |
|
264 return true; |
|
265 } |
|
266 if (!_jvmti_can_get_owned_monitor_info && |
|
267 JvmtiExport::can_get_owned_monitor_info()) { |
263 return true; |
268 return true; |
264 } |
269 } |
265 |
270 |
266 return false; |
271 return false; |
267 } |
272 } |