Skip to content

Commit f7b1ce4

Browse files
committedSep 22, 2020
8253447: Remove buggy code introduced by 8249451
Reviewed-by: iveresov, eosterlund
1 parent 282b9dc commit f7b1ce4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/hotspot/share/runtime/deoptimization.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -528,8 +528,8 @@ Deoptimization::UnrollBlock* Deoptimization::fetch_unroll_info_helper(JavaThread
528528
}
529529
#endif
530530

531-
if ((thread->has_pending_exception() || thread->frames_to_pop_failed_realloc() > 0) && exec_mode != Unpack_uncommon_trap) {
532-
assert(thread->has_pending_exception(), "should have thrown OOME/Async");
531+
if (thread->frames_to_pop_failed_realloc() > 0 && exec_mode != Unpack_uncommon_trap) {
532+
assert(thread->has_pending_exception(), "should have thrown OOME");
533533
thread->set_exception_oop(thread->pending_exception());
534534
thread->clear_pending_exception();
535535
exec_mode = Unpack_exception;

0 commit comments

Comments
 (0)
Please sign in to comment.