mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8075171: Contended Locking fast notify bucket
JEP-143/JDK-8073165 Contended Locking fast notify bucket Co-authored-by: Dave Dice <dave.dice@oracle.com> Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com> Reviewed-by: dholmes, acorn, dice, dcubed
This commit is contained in:
parent
a692c78dfc
commit
d7f565d9eb
10 changed files with 242 additions and 169 deletions
|
@ -58,8 +58,10 @@ public class Object {
|
|||
return getClass().getName() + "@" + Integer.toHexString(hashCode());
|
||||
}
|
||||
|
||||
@HotSpotIntrinsicCandidate
|
||||
public final native void notify();
|
||||
|
||||
@HotSpotIntrinsicCandidate
|
||||
public final native void notifyAll();
|
||||
|
||||
public final native void wait(long timeout) throws InterruptedException;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue