src/java.base/share/classes/sun/misc/Unsafe.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File jdk Sdiff src/java.base/share/classes/sun/misc

src/java.base/share/classes/sun/misc/Unsafe.java

Print this page
rev 10973 : 8028595: WhiteBox API for stress testing of TieredCompilation
Reviewed-by:


1122      * with loads or stores after the fence.
1123      * @since 1.8
1124      */
1125     public native void storeFence();
1126 
1127     /**
1128      * Ensures lack of reordering of loads or stores before the fence
1129      * with loads or stores after the fence.
1130      * @since 1.8
1131      */
1132     public native void fullFence();
1133 
1134     /**
1135      * Throws IllegalAccessError; for use by the VM.
1136      * @since 1.8
1137      */
1138     private static void throwIllegalAccessError() {
1139        throw new IllegalAccessError();
1140     }
1141 




1142 }


1122      * with loads or stores after the fence.
1123      * @since 1.8
1124      */
1125     public native void storeFence();
1126 
1127     /**
1128      * Ensures lack of reordering of loads or stores before the fence
1129      * with loads or stores after the fence.
1130      * @since 1.8
1131      */
1132     public native void fullFence();
1133 
1134     /**
1135      * Throws IllegalAccessError; for use by the VM.
1136      * @since 1.8
1137      */
1138     private static void throwIllegalAccessError() {
1139        throw new IllegalAccessError();
1140     }
1141 
1142     /**
1143      * @return the id compiler (0 - int, 1 - C1, 2 - C2)
1144      */
1145     public static int getCompiler() { return 0; }
1146 }
src/java.base/share/classes/sun/misc/Unsafe.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File