From 4124d403c0a01bfe8e8399c202d62b2221cc8b8d Mon Sep 17 00:00:00 2001 From: Vladimir Kozlov Date: Sun, 7 Jul 2019 18:10:18 -0700 Subject: [PATCH] 8225064: [Graal] Application SEGV in G1ParScanThreadState::copy_to_survivor_space(G1HeapRegionAttr, oopDesc*, markOopDesc*)+0x48 Switch off ReduceInitialCardMarks optimization in Graal in JDK 13 (full fix is in JDK 14) Reviewed-by: thartmann, never --- .../src/org/graalvm/compiler/hotspot/GraalHotSpotVMConfig.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/GraalHotSpotVMConfig.java b/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/GraalHotSpotVMConfig.java index 9ee6ddad85f..7adac437cae 100644 --- a/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/GraalHotSpotVMConfig.java +++ b/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/GraalHotSpotVMConfig.java @@ -179,7 +179,8 @@ public class GraalHotSpotVMConfig extends GraalHotSpotVMConfigBase { return universeCollectedHeap + collectedHeapTotalCollectionsOffset; } - public final boolean useDeferredInitBarriers = getFlag("ReduceInitialCardMarks", Boolean.class); + // Disable support for ReduceInitialCardMarks due to JDK-8225064. + public final boolean useDeferredInitBarriers = false; // Compressed Oops related values. public final boolean useCompressedOops = getFlag("UseCompressedOops", Boolean.class);