Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8276201: Shenandoah: Race results degenerated GC to enter wrong entry…
… point

Reviewed-by: shade
Backport-of: dbf5100dd705fbe4a3aeae49405ca541d581f106
  • Loading branch information
zhengyu123 committed Nov 16, 2021
1 parent 3593e1e commit 35c045c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp
Expand Up @@ -1735,7 +1735,9 @@ void ShenandoahHeap::op_degenerated(ShenandoahDegenPoint point) {
}

case _degenerated_mark:
op_final_mark();
if (is_concurrent_mark_in_progress()) {
op_final_mark();
}
if (cancelled_gc()) {
op_degenerated_fail();
return;
Expand Down

1 comment on commit 35c045c

@openjdk-notifier
Copy link

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.