mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8187289: NotifyFramePop request is not cleared if JVMTI_EVENT_FRAME_POP is disabled
Reviewed-by: sspitsyn, cjplummer
This commit is contained in:
parent
185724b899
commit
dbb9eb5b9c
4 changed files with 292 additions and 17 deletions
|
@ -1576,9 +1576,9 @@ void JvmtiExport::post_method_exit(JavaThread *thread, Method* method, frame cur
|
|||
}
|
||||
}
|
||||
|
||||
if (state->is_enabled(JVMTI_EVENT_FRAME_POP)) {
|
||||
JvmtiEnvThreadStateIterator it(state);
|
||||
for (JvmtiEnvThreadState* ets = it.first(); ets != NULL; ets = it.next(ets)) {
|
||||
JvmtiEnvThreadStateIterator it(state);
|
||||
for (JvmtiEnvThreadState* ets = it.first(); ets != NULL; ets = it.next(ets)) {
|
||||
if (ets->has_frame_pops()) {
|
||||
int cur_frame_number = state->cur_stack_depth();
|
||||
|
||||
if (ets->is_frame_pop(cur_frame_number)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue