mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8073165: Contended Locking fast exit bucket
JEP-143/JDK-8073165 Contended Locking fast exit 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
d30de5ab31
commit
884f0d320f
14 changed files with 326 additions and 215 deletions
|
@ -1819,9 +1819,9 @@ JRT_BLOCK_ENTRY(void, SharedRuntime::complete_monitor_locking_C(oopDesc* _obj, B
|
|||
JRT_END
|
||||
|
||||
// Handles the uncommon cases of monitor unlocking in compiled code
|
||||
JRT_LEAF(void, SharedRuntime::complete_monitor_unlocking_C(oopDesc* _obj, BasicLock* lock))
|
||||
JRT_LEAF(void, SharedRuntime::complete_monitor_unlocking_C(oopDesc* _obj, BasicLock* lock, JavaThread * THREAD))
|
||||
oop obj(_obj);
|
||||
Thread* THREAD = JavaThread::current();
|
||||
assert(JavaThread::current() == THREAD, "invariant");
|
||||
// I'm not convinced we need the code contained by MIGHT_HAVE_PENDING anymore
|
||||
// testing was unable to ever fire the assert that guarded it so I have removed it.
|
||||
assert(!HAS_PENDING_EXCEPTION, "Do we need code below anymore?");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue