src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/GraalHotSpotVMConfigVersioned.java
equal
deleted
inserted
replaced
32 * class accessed from outside this class, be sure to update the field appropriately in all source |
32 * class accessed from outside this class, be sure to update the field appropriately in all source |
33 * files named {@code GraalHotSpotVMConfigVersioned.java}. |
33 * files named {@code GraalHotSpotVMConfigVersioned.java}. |
34 * |
34 * |
35 * Fields are grouped according to the most recent JBS issue showing why they are versioned. |
35 * Fields are grouped according to the most recent JBS issue showing why they are versioned. |
36 * |
36 * |
37 * JDK Version: 11+ |
37 * JDK Version: 12+ |
38 */ |
38 */ |
39 final class GraalHotSpotVMConfigVersioned extends HotSpotVMConfigAccess { |
39 final class GraalHotSpotVMConfigVersioned extends HotSpotVMConfigAccess { |
40 |
40 |
41 GraalHotSpotVMConfigVersioned(HotSpotVMConfigStore store) { |
41 GraalHotSpotVMConfigVersioned(HotSpotVMConfigStore store) { |
42 super(store); |
42 super(store); |
43 } |
43 } |
44 |
44 |
45 private boolean initInlineNotify() { |
45 // JDK-8210848 |
46 String syncKnobs = getFlag("SyncKnobs", String.class, ""); |
46 boolean inlineNotify = true; |
47 return syncKnobs == null || !syncKnobs.contains("InlineNotify=0"); |
|
48 } |
|
49 |
|
50 // JSK-8132287 |
|
51 boolean inlineNotify = initInlineNotify(); |
|
52 |
47 |
53 // JDK-8073583 |
48 // JDK-8073583 |
54 boolean useCRC32CIntrinsics = getFlag("UseCRC32CIntrinsics", Boolean.class); |
49 boolean useCRC32CIntrinsics = getFlag("UseCRC32CIntrinsics", Boolean.class); |
55 |
50 |
56 // JDK-8046936 |
51 // JDK-8046936 |