8061553: Contended Locking fast enter bucket

JEP-143/JDK-8061553 Contended Locking fast enter bucket

Co-authored-by: Dave Dice <dave.dice@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Reviewed-by: dholmes, acorn
This commit is contained in:
Daniel D. Daugherty 2015-02-13 10:01:42 -08:00
parent 3d3f6553c0
commit a9e28164eb
6 changed files with 96 additions and 54 deletions

View file

@ -72,6 +72,8 @@ class ObjectSynchronizer : AllStatic {
static void notify(Handle obj, TRAPS);
static void notifyall(Handle obj, TRAPS);
static bool quick_enter(oop obj, Thread* Self, BasicLock* Lock);
// Special internal-use-only method for use by JVM infrastructure
// that needs to wait() on a java-level object but that can't risk
// throwing unexpected InterruptedExecutionExceptions.