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.
1 parent a6b2623 commit c36bf43Copy full SHA for c36bf43
substratevm/src/com.oracle.svm.core.genscavenge/src/com/oracle/svm/core/genscavenge/HeapImpl.java
@@ -691,7 +691,7 @@ public long getThreadAllocatedMemory(IsolateThread thread) {
691
@Override
692
@Uninterruptible(reason = "Ensure that no GC can occur between modification of the object and this call.", callerMustBe = true)
693
public void dirtyAllReferencesOf(Object obj) {
694
- if (obj != null) {
+ if (SubstrateOptions.useRememberedSet() && obj != null) {
695
ForcedSerialPostWriteBarrier.force(OffsetAddressNode.address(obj, 0), false);
696
}
697
0 commit comments