< prev index next >

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

Print this page




 653     public static int lockDisplacedMarkOffset(@InjectedParameter GraalHotSpotVMConfig config) {
 654         return config.basicLockDisplacedHeaderOffset;
 655     }
 656 
 657     @Fold
 658     public static boolean useBiasedLocking(@InjectedParameter GraalHotSpotVMConfig config) {
 659         return config.useBiasedLocking;
 660     }
 661 
 662     @Fold
 663     public static boolean useDeferredInitBarriers(@InjectedParameter GraalHotSpotVMConfig config) {
 664         return config.useDeferredInitBarriers;
 665     }
 666 
 667     @Fold
 668     public static boolean useG1GC(@InjectedParameter GraalHotSpotVMConfig config) {
 669         return config.useG1GC;
 670     }
 671 
 672     @Fold





 673     public static boolean useCompressedOops(@InjectedParameter GraalHotSpotVMConfig config) {
 674         return config.useCompressedOops;
 675     }
 676 
 677     @Fold
 678     static int uninitializedIdentityHashCodeValue(@InjectedParameter GraalHotSpotVMConfig config) {
 679         return config.uninitializedIdentityHashCodeValue;
 680     }
 681 
 682     @Fold
 683     static int identityHashCodeShift(@InjectedParameter GraalHotSpotVMConfig config) {
 684         return config.identityHashCodeShift;
 685     }
 686 
 687     /**
 688      * Loads the hub of an object (without null checking it first).
 689      */
 690     public static KlassPointer loadHub(Object object) {
 691         return loadHubIntrinsic(object);
 692     }




 653     public static int lockDisplacedMarkOffset(@InjectedParameter GraalHotSpotVMConfig config) {
 654         return config.basicLockDisplacedHeaderOffset;
 655     }
 656 
 657     @Fold
 658     public static boolean useBiasedLocking(@InjectedParameter GraalHotSpotVMConfig config) {
 659         return config.useBiasedLocking;
 660     }
 661 
 662     @Fold
 663     public static boolean useDeferredInitBarriers(@InjectedParameter GraalHotSpotVMConfig config) {
 664         return config.useDeferredInitBarriers;
 665     }
 666 
 667     @Fold
 668     public static boolean useG1GC(@InjectedParameter GraalHotSpotVMConfig config) {
 669         return config.useG1GC;
 670     }
 671 
 672     @Fold
 673     public static boolean useCMSIncrementalMode(@InjectedParameter GraalHotSpotVMConfig config) {
 674         return config.cmsIncrementalMode;
 675     }
 676 
 677     @Fold
 678     public static boolean useCompressedOops(@InjectedParameter GraalHotSpotVMConfig config) {
 679         return config.useCompressedOops;
 680     }
 681 
 682     @Fold
 683     static int uninitializedIdentityHashCodeValue(@InjectedParameter GraalHotSpotVMConfig config) {
 684         return config.uninitializedIdentityHashCodeValue;
 685     }
 686 
 687     @Fold
 688     static int identityHashCodeShift(@InjectedParameter GraalHotSpotVMConfig config) {
 689         return config.identityHashCodeShift;
 690     }
 691 
 692     /**
 693      * Loads the hub of an object (without null checking it first).
 694      */
 695     public static KlassPointer loadHub(Object object) {
 696         return loadHubIntrinsic(object);
 697     }


< prev index next >