Skip to content
Browse files
8262885: Shenandoah: FullGC prologue does not need to save/restore he…
…ap has_forwarded_object flag

Reviewed-by: shade
  • Loading branch information
zhengyu123 committed Mar 3, 2021
1 parent 1d2c1e6 commit 2d2ef08c0fd99f8d486e47be96fb1559140c6bb3
Showing 1 changed file with 3 additions and 4 deletions.
@@ -179,15 +179,14 @@ void ShenandoahFullGC::do_it(GCCause::Cause gc_cause) {
ShenandoahReferenceProcessor* rp = heap->ref_processor();

// f. Set back forwarded objects bit back, in case some steps above dropped it.

// g. Sync pinned region status from the CP marks
// f. Sync pinned region status from the CP marks

// The rest of prologue:

assert(heap->has_forwarded_objects() == has_forwarded_objects, "This should not change");

if (UseTLAB) {

0 comments on commit 2d2ef08

Please sign in to comment.