Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8253447: Remove buggy code introduced by 8249451
Reviewed-by: iveresov, eosterlund
  • Loading branch information
jamsheedcm committed Sep 22, 2020
1 parent 282b9dc commit f7b1ce4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hotspot/share/runtime/deoptimization.cpp
Expand Up @@ -528,8 +528,8 @@ Deoptimization::UnrollBlock* Deoptimization::fetch_unroll_info_helper(JavaThread
}
#endif

if ((thread->has_pending_exception() || thread->frames_to_pop_failed_realloc() > 0) && exec_mode != Unpack_uncommon_trap) {
assert(thread->has_pending_exception(), "should have thrown OOME/Async");
if (thread->frames_to_pop_failed_realloc() > 0 && exec_mode != Unpack_uncommon_trap) {
assert(thread->has_pending_exception(), "should have thrown OOME");
thread->set_exception_oop(thread->pending_exception());
thread->clear_pending_exception();
exec_mode = Unpack_exception;
Expand Down

1 comment on commit f7b1ce4

@bridgekeeper
Copy link

@bridgekeeper bridgekeeper bot commented on f7b1ce4 Sep 22, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.