Skip to content

Commit

Permalink
8256754: Deoptimization::revoke_for_object_deoptimization: stack proc…
Browse files Browse the repository at this point in the history
…essing start call is redundant
  • Loading branch information
reinrich committed Nov 23, 2020
1 parent 53f3835 commit f09aaf9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/hotspot/share/runtime/deoptimization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1651,10 +1651,6 @@ void Deoptimization::revoke_for_object_deoptimization(JavaThread* deoptee_thread
return;
}
GrowableArray<Handle>* objects_to_revoke = new GrowableArray<Handle>();
if (deoptee_thread != thread) {
// Process stack of deoptee thread as we will access oops during object deoptimization.
StackWatermarkSet::start_processing(deoptee_thread, StackWatermarkKind::gc);
}
// Collect monitors but only those with eliminated locking.
get_monitors_from_stack(objects_to_revoke, deoptee_thread, fr, map, true);

Expand Down

0 comments on commit f09aaf9

Please sign in to comment.