jdk/src/share/classes/sun/misc/Unsafe.java
changeset 21851 f21f49c7c265
parent 16906 44dfee24cb71
equal deleted inserted replaced
21850:830aedb5accd 21851:f21f49c7c265
     1 /*
     1 /*
     2  * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
  1129      * with loads or stores after the fence.
  1129      * with loads or stores after the fence.
  1130      * @since 1.8
  1130      * @since 1.8
  1131      */
  1131      */
  1132     public native void fullFence();
  1132     public native void fullFence();
  1133 
  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 
  1134 }
  1142 }