We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7edc294 + 2532d19 commit 2cb5ba3Copy full SHA for 2cb5ba3
substratevm/src/com.oracle.svm.core.genscavenge/src/com/oracle/svm/core/genscavenge/HeapImpl.java
@@ -689,7 +689,7 @@ public long getThreadAllocatedMemory(IsolateThread thread) {
689
@Override
690
@Uninterruptible(reason = "Ensure that no GC can occur between modification of the object and this call.", callerMustBe = true)
691
public void dirtyAllReferencesOf(Object obj) {
692
- if (obj != null) {
+ if (SubstrateOptions.useRememberedSet() && obj != null) {
693
ForcedSerialPostWriteBarrier.force(OffsetAddressNode.address(obj, 0), false);
694
}
695
0 commit comments