< prev index next >

src/hotspot/share/prims/jvmtiEnvBase.cpp

Print this page

        

*** 1502,1530 **** *module_count_ptr = len; return JVMTI_ERROR_NONE; } void ! VM_UpdateForPopTopFrame::doit() { JavaThread* jt = _state->get_thread(); ! ThreadsListHandle tlh; ! if (jt != NULL && tlh.includes(jt) && !jt->is_exiting() && jt->threadObj() != NULL) { _state->update_for_pop_top_frame(); ! } else { ! _result = JVMTI_ERROR_THREAD_NOT_ALIVE; } } void ! VM_SetFramePop::doit() { JavaThread* jt = _state->get_thread(); ! ThreadsListHandle tlh; ! if (jt != NULL && tlh.includes(jt) && !jt->is_exiting() && jt->threadObj() != NULL) { int frame_number = _state->count_frames() - _depth; _state->env_thread_state((JvmtiEnvBase*)_env)->set_frame_pop(frame_number); ! } else { ! _result = JVMTI_ERROR_THREAD_NOT_ALIVE; } } void GetOwnedMonitorInfoClosure::do_thread(Thread *target) { --- 1502,1528 ---- *module_count_ptr = len; return JVMTI_ERROR_NONE; } void ! UpdateForPopTopFrameClosure::do_thread(Thread *target) { JavaThread* jt = _state->get_thread(); ! assert(jt == target, "just checking"); ! if (!jt->is_exiting() && jt->threadObj() != NULL) { _state->update_for_pop_top_frame(); ! _result = JVMTI_ERROR_NONE; } } void ! SetFramePopClosure::do_thread(Thread *target) { JavaThread* jt = _state->get_thread(); ! assert(jt == target, "just checking"); ! if (!jt->is_exiting() && jt->threadObj() != NULL) { int frame_number = _state->count_frames() - _depth; _state->env_thread_state((JvmtiEnvBase*)_env)->set_frame_pop(frame_number); ! _result = JVMTI_ERROR_NONE; } } void GetOwnedMonitorInfoClosure::do_thread(Thread *target) {
< prev index next >