8075171: Contended Locking fast notify bucket
authordcubed
Tue, 21 Jul 2015 07:29:10 -0700
changeset 31908 73eefd070da4
parent 31907 cafb1bf49cfb
child 31910 64d8434c9d85
8075171: Contended Locking fast notify bucket Summary: JEP-143/JDK-8073165 Contended Locking fast notify bucket Reviewed-by: dholmes, acorn, dice, dcubed Contributed-by: dave.dice@oracle.com, karen.kinnear@oracle.com, daniel.daugherty@oracle.com
jdk/src/java.base/share/classes/java/lang/Object.java
--- a/jdk/src/java.base/share/classes/java/lang/Object.java	Mon Jul 20 13:14:47 2015 +0200
+++ b/jdk/src/java.base/share/classes/java/lang/Object.java	Tue Jul 21 07:29:10 2015 -0700
@@ -278,6 +278,7 @@
      * @see        java.lang.Object#notifyAll()
      * @see        java.lang.Object#wait()
      */
+    @HotSpotIntrinsicCandidate
     public final native void notify();
 
     /**
@@ -302,6 +303,7 @@
      * @see        java.lang.Object#notify()
      * @see        java.lang.Object#wait()
      */
+    @HotSpotIntrinsicCandidate
     public final native void notifyAll();
 
     /**