Skip to content

Commit 77dadef

Browse files
Merge pull request #24418 from amicic/remove_sync
Remove store sync in PGC
2 parents 3f5a860 + 2e05ae8 commit 77dadef

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

runtime/gc_vlhgc/CopyForwardScheme.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -827,8 +827,7 @@ MM_CopyForwardScheme::acquireEmptyRegion(MM_EnvironmentVLHGC *env, MM_ReservedRe
827827
Assert_MM_true(newRegion->getReferenceObjectList()->isPhantomListEmpty());
828828

829829
setRegionAsSurvivor(env, newRegion, true);
830-
/* Make sure that all the attributes set are visible to other CPUs, before exposing the region in a globally visible list */
831-
MM_AtomicOperations::storeSync();
830+
832831
insertRegionIntoLockedList(env, regionList, newRegion);
833832
} else {
834833
/* record that we failed to expand so that we stop trying during this collection */

0 commit comments

Comments
 (0)