8252871: fatal error: must own lock JvmtiThreadState_lock
8252816: JvmtiEnvThreadState::clear_to_frame_pop() is not used Reviewed-by: ysuenaga, dholmes
This commit is contained in:
parent
bf5da0c778
commit
704f784c88
@ -230,17 +230,6 @@ void JvmtiEnvThreadState::clear_frame_pop(int frame_number) {
|
||||
}
|
||||
|
||||
|
||||
void JvmtiEnvThreadState::clear_to_frame_pop(int frame_number) {
|
||||
#ifdef ASSERT
|
||||
Thread *current = Thread::current();
|
||||
#endif
|
||||
assert(get_thread() == current || current == get_thread()->active_handshaker(),
|
||||
"frame pop data only accessible from same thread or direct handshake");
|
||||
JvmtiFramePop fpop(frame_number);
|
||||
JvmtiEventController::clear_to_frame_pop(this, fpop);
|
||||
}
|
||||
|
||||
|
||||
bool JvmtiEnvThreadState::is_frame_pop(int cur_frame_number) {
|
||||
#ifdef ASSERT
|
||||
Thread *current = Thread::current();
|
||||
|
@ -178,7 +178,6 @@ public:
|
||||
|
||||
void set_frame_pop(int frame_number);
|
||||
void clear_frame_pop(int frame_number);
|
||||
void clear_to_frame_pop(int frame_number);
|
||||
|
||||
};
|
||||
|
||||
|
@ -979,29 +979,18 @@ JvmtiEventController::set_extension_event_callback(JvmtiEnvBase *env,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void
|
||||
JvmtiEventController::set_frame_pop(JvmtiEnvThreadState *ets, JvmtiFramePop fpop) {
|
||||
assert_lock_strong(JvmtiThreadState_lock);
|
||||
assert(JvmtiThreadState_lock->is_locked(), "Must be locked.");
|
||||
JvmtiEventControllerPrivate::set_frame_pop(ets, fpop);
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
JvmtiEventController::clear_frame_pop(JvmtiEnvThreadState *ets, JvmtiFramePop fpop) {
|
||||
assert_lock_strong(JvmtiThreadState_lock);
|
||||
assert(JvmtiThreadState_lock->is_locked(), "Must be locked.");
|
||||
JvmtiEventControllerPrivate::clear_frame_pop(ets, fpop);
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
JvmtiEventController::clear_to_frame_pop(JvmtiEnvThreadState *ets, JvmtiFramePop fpop) {
|
||||
assert_lock_strong(JvmtiThreadState_lock);
|
||||
JvmtiEventControllerPrivate::clear_to_frame_pop(ets, fpop);
|
||||
}
|
||||
|
||||
void
|
||||
JvmtiEventController::change_field_watch(jvmtiEvent event_type, bool added) {
|
||||
MutexLocker mu(JvmtiThreadState_lock);
|
||||
|
@ -226,7 +226,6 @@ public:
|
||||
|
||||
static void set_frame_pop(JvmtiEnvThreadState *env_thread, JvmtiFramePop fpop);
|
||||
static void clear_frame_pop(JvmtiEnvThreadState *env_thread, JvmtiFramePop fpop);
|
||||
static void clear_to_frame_pop(JvmtiEnvThreadState *env_thread, JvmtiFramePop fpop);
|
||||
|
||||
static void change_field_watch(jvmtiEvent event_type, bool added);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user