< prev index next >

src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/GraalHotSpotVMConfig.java

Print this page




  80     public final boolean inline = getFlag("Inline", Boolean.class);
  81     public final boolean inlineNotify = versioned.inlineNotify;
  82     public final boolean useFastLocking = getFlag("JVMCIUseFastLocking", Boolean.class);
  83     public final boolean forceUnreachable = getFlag("ForceUnreachable", Boolean.class);
  84     public final int codeSegmentSize = getFlag("CodeCacheSegmentSize", Integer.class);
  85     public final boolean foldStableValues = getFlag("FoldStableValues", Boolean.class);
  86     public final int maxVectorSize = getFlag("MaxVectorSize", Integer.class);
  87 
  88     public final boolean verifyBeforeGC = getFlag("VerifyBeforeGC", Boolean.class);
  89     public final boolean verifyAfterGC = getFlag("VerifyAfterGC", Boolean.class);
  90 
  91     public final boolean useTLAB = getFlag("UseTLAB", Boolean.class);
  92     public final boolean useBiasedLocking = getFlag("UseBiasedLocking", Boolean.class);
  93     public final boolean usePopCountInstruction = getFlag("UsePopCountInstruction", Boolean.class);
  94     public final boolean useAESIntrinsics = getFlag("UseAESIntrinsics", Boolean.class);
  95     public final boolean useAESCTRIntrinsics = getFlag("UseAESCTRIntrinsics", Boolean.class, false);
  96     public final boolean useCRC32Intrinsics = getFlag("UseCRC32Intrinsics", Boolean.class);
  97     public final boolean useCRC32CIntrinsics = versioned.useCRC32CIntrinsics;
  98     public final boolean threadLocalHandshakes = getFlag("ThreadLocalHandshakes", Boolean.class, false);
  99 




 100     private final boolean useMultiplyToLenIntrinsic = getFlag("UseMultiplyToLenIntrinsic", Boolean.class);
 101     private final boolean useSHA1Intrinsics = getFlag("UseSHA1Intrinsics", Boolean.class);
 102     private final boolean useSHA256Intrinsics = getFlag("UseSHA256Intrinsics", Boolean.class);
 103     private final boolean useSHA512Intrinsics = getFlag("UseSHA512Intrinsics", Boolean.class);
 104     private final boolean useGHASHIntrinsics = getFlag("UseGHASHIntrinsics", Boolean.class, false);
 105     private final boolean useBase64Intrinsics = getFlag("UseBASE64Intrinsics", Boolean.class, false);
 106     private final boolean useMontgomeryMultiplyIntrinsic = getFlag("UseMontgomeryMultiplyIntrinsic", Boolean.class, false);
 107     private final boolean useMontgomerySquareIntrinsic = getFlag("UseMontgomerySquareIntrinsic", Boolean.class, false);
 108     private final boolean useMulAddIntrinsic = getFlag("UseMulAddIntrinsic", Boolean.class, false);
 109     private final boolean useSquareToLenIntrinsic = getFlag("UseSquareToLenIntrinsic", Boolean.class, false);
 110     public final boolean useVectorizedMismatchIntrinsic = getFlag("UseVectorizedMismatchIntrinsic", Boolean.class, false);
 111     public final boolean useFMAIntrinsics = getFlag("UseFMA", Boolean.class, false);
 112 
 113     /*
 114      * These are methods because in some JDKs the flags are visible but the stubs themselves haven't
 115      * been exported so we have to check both if the flag is on and if we have the stub.
 116      */
 117     public boolean useMultiplyToLenIntrinsic() {
 118         return useMultiplyToLenIntrinsic && multiplyToLen != 0;
 119     }




  80     public final boolean inline = getFlag("Inline", Boolean.class);
  81     public final boolean inlineNotify = versioned.inlineNotify;
  82     public final boolean useFastLocking = getFlag("JVMCIUseFastLocking", Boolean.class);
  83     public final boolean forceUnreachable = getFlag("ForceUnreachable", Boolean.class);
  84     public final int codeSegmentSize = getFlag("CodeCacheSegmentSize", Integer.class);
  85     public final boolean foldStableValues = getFlag("FoldStableValues", Boolean.class);
  86     public final int maxVectorSize = getFlag("MaxVectorSize", Integer.class);
  87 
  88     public final boolean verifyBeforeGC = getFlag("VerifyBeforeGC", Boolean.class);
  89     public final boolean verifyAfterGC = getFlag("VerifyAfterGC", Boolean.class);
  90 
  91     public final boolean useTLAB = getFlag("UseTLAB", Boolean.class);
  92     public final boolean useBiasedLocking = getFlag("UseBiasedLocking", Boolean.class);
  93     public final boolean usePopCountInstruction = getFlag("UsePopCountInstruction", Boolean.class);
  94     public final boolean useAESIntrinsics = getFlag("UseAESIntrinsics", Boolean.class);
  95     public final boolean useAESCTRIntrinsics = getFlag("UseAESCTRIntrinsics", Boolean.class, false);
  96     public final boolean useCRC32Intrinsics = getFlag("UseCRC32Intrinsics", Boolean.class);
  97     public final boolean useCRC32CIntrinsics = versioned.useCRC32CIntrinsics;
  98     public final boolean threadLocalHandshakes = getFlag("ThreadLocalHandshakes", Boolean.class, false);
  99 
 100     public final long continuationDoYield = versioned.continuationDoYield;
 101     public final long continuationThaw = versioned.continuationThaw;
 102     public final long continuationGetSP = versioned.continuationGetSP;
 103 
 104     private final boolean useMultiplyToLenIntrinsic = getFlag("UseMultiplyToLenIntrinsic", Boolean.class);
 105     private final boolean useSHA1Intrinsics = getFlag("UseSHA1Intrinsics", Boolean.class);
 106     private final boolean useSHA256Intrinsics = getFlag("UseSHA256Intrinsics", Boolean.class);
 107     private final boolean useSHA512Intrinsics = getFlag("UseSHA512Intrinsics", Boolean.class);
 108     private final boolean useGHASHIntrinsics = getFlag("UseGHASHIntrinsics", Boolean.class, false);
 109     private final boolean useBase64Intrinsics = getFlag("UseBASE64Intrinsics", Boolean.class, false);
 110     private final boolean useMontgomeryMultiplyIntrinsic = getFlag("UseMontgomeryMultiplyIntrinsic", Boolean.class, false);
 111     private final boolean useMontgomerySquareIntrinsic = getFlag("UseMontgomerySquareIntrinsic", Boolean.class, false);
 112     private final boolean useMulAddIntrinsic = getFlag("UseMulAddIntrinsic", Boolean.class, false);
 113     private final boolean useSquareToLenIntrinsic = getFlag("UseSquareToLenIntrinsic", Boolean.class, false);
 114     public final boolean useVectorizedMismatchIntrinsic = getFlag("UseVectorizedMismatchIntrinsic", Boolean.class, false);
 115     public final boolean useFMAIntrinsics = getFlag("UseFMA", Boolean.class, false);
 116 
 117     /*
 118      * These are methods because in some JDKs the flags are visible but the stubs themselves haven't
 119      * been exported so we have to check both if the flag is on and if we have the stub.
 120      */
 121     public boolean useMultiplyToLenIntrinsic() {
 122         return useMultiplyToLenIntrinsic && multiplyToLen != 0;
 123     }


< prev index next >