jdk/src/java.base/share/classes/java/lang/ref/Reference.java
changeset 31671 362e0c0acece
parent 29919 be906afc335b
child 32100 8a0db19f4e84
--- a/jdk/src/java.base/share/classes/java/lang/ref/Reference.java	Thu Jul 02 17:50:25 2015 -0700
+++ b/jdk/src/java.base/share/classes/java/lang/ref/Reference.java	Fri Jul 03 07:23:45 2015 +0200
@@ -29,6 +29,7 @@
 import sun.misc.JavaLangRefAccess;
 import sun.misc.ManagedLocalsThread;
 import sun.misc.SharedSecrets;
+import jdk.internal.HotSpotIntrinsicCandidate;
 
 /**
  * Abstract base class for reference objects.  This class defines the
@@ -251,6 +252,7 @@
      * @return   The object to which this reference refers, or
      *           <code>null</code> if this reference object has been cleared
      */
+    @HotSpotIntrinsicCandidate
     public T get() {
         return this.referent;
     }