< prev index next >
src/hotspot/share/prims/jvmtiEnvBase.hpp
Print this page
*** 334,377 ****
}
JvmtiEnv* first() { return JvmtiEnvBase::head_environment(); }
JvmtiEnv* next(JvmtiEnvBase* env) { return env->next_environment(); }
};
! // VM operation to update for pop top frame.
! class VM_UpdateForPopTopFrame : public VM_Operation {
private:
JvmtiThreadState* _state;
jvmtiError _result;
public:
! VM_UpdateForPopTopFrame(JvmtiThreadState* state) {
! _state = state;
! _result = JVMTI_ERROR_NONE;
! }
! VMOp_Type type() const { return VMOp_UpdateForPopTopFrame; }
jvmtiError result() { return _result; }
! void doit();
};
! // VM operation to set frame pop.
! class VM_SetFramePop : public VM_Operation {
private:
JvmtiEnv *_env;
JvmtiThreadState* _state;
jint _depth;
jvmtiError _result;
public:
! VM_SetFramePop(JvmtiEnv *env, JvmtiThreadState* state, jint depth) {
! _env = env;
! _state = state;
! _depth = depth;
! _result = JVMTI_ERROR_NONE;
! }
! VMOp_Type type() const { return VMOp_SetFramePop; }
jvmtiError result() { return _result; }
! void doit();
};
// HandshakeClosure to get monitor information with stack depth.
class GetOwnedMonitorInfoClosure : public HandshakeClosure {
--- 334,375 ----
}
JvmtiEnv* first() { return JvmtiEnvBase::head_environment(); }
JvmtiEnv* next(JvmtiEnvBase* env) { return env->next_environment(); }
};
! // HandshakeClosure to update for pop top frame.
! class UpdateForPopTopFrameClosure : public HandshakeClosure {
private:
JvmtiThreadState* _state;
jvmtiError _result;
public:
! UpdateForPopTopFrameClosure(JvmtiThreadState* state)
! : HandshakeClosure("UpdateForPopTopFrame"),
! _state(state),
! _result(JVMTI_ERROR_THREAD_NOT_ALIVE) {}
jvmtiError result() { return _result; }
! void do_thread(Thread *target);
};
! // HandshakeClosure to set frame pop.
! class SetFramePopClosure : public HandshakeClosure {
private:
JvmtiEnv *_env;
JvmtiThreadState* _state;
jint _depth;
jvmtiError _result;
public:
! SetFramePopClosure(JvmtiEnv *env, JvmtiThreadState* state, jint depth)
! : HandshakeClosure("SetFramePop"),
! _env(env),
! _state(state),
! _depth(depth),
! _result(JVMTI_ERROR_THREAD_NOT_ALIVE) {}
jvmtiError result() { return _result; }
! void do_thread(Thread *target);
};
// HandshakeClosure to get monitor information with stack depth.
class GetOwnedMonitorInfoClosure : public HandshakeClosure {
< prev index next >