Skip to content

Commit

Permalink
Fixes issue-7652 for epsilon gc
Browse files Browse the repository at this point in the history
  • Loading branch information
Karm committed Oct 26, 2023
1 parent a6b2623 commit c36bf43
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ public long getThreadAllocatedMemory(IsolateThread thread) {
@Override
@Uninterruptible(reason = "Ensure that no GC can occur between modification of the object and this call.", callerMustBe = true)
public void dirtyAllReferencesOf(Object obj) {
if (obj != null) {
if (SubstrateOptions.useRememberedSet() && obj != null) {
ForcedSerialPostWriteBarrier.force(OffsetAddressNode.address(obj, 0), false);
}
}
Expand Down

0 comments on commit c36bf43

Please sign in to comment.