mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8210514: Obsolete SyncVerbose
Reviewed-by: coleenp, dcubed
This commit is contained in:
parent
e80b128db4
commit
9118c4c28b
7 changed files with 2 additions and 90 deletions
|
@ -4736,7 +4736,6 @@ void Thread::SpinAcquire(volatile int * adr, const char * LockName) {
|
|||
}
|
||||
|
||||
// Slow-path : We've encountered contention -- Spin/Yield/Block strategy.
|
||||
TEVENT(SpinAcquire - ctx);
|
||||
int ctr = 0;
|
||||
int Yields = 0;
|
||||
for (;;) {
|
||||
|
@ -4831,7 +4830,6 @@ void Thread::muxAcquire(volatile intptr_t * Lock, const char * LockName) {
|
|||
return;
|
||||
}
|
||||
|
||||
TEVENT(muxAcquire - Contention);
|
||||
ParkEvent * const Self = Thread::current()->_MuxEvent;
|
||||
assert((intptr_t(Self) & LOCKBIT) == 0, "invariant");
|
||||
for (;;) {
|
||||
|
@ -4877,7 +4875,6 @@ void Thread::muxAcquireW(volatile intptr_t * Lock, ParkEvent * ev) {
|
|||
return;
|
||||
}
|
||||
|
||||
TEVENT(muxAcquire - Contention);
|
||||
ParkEvent * ReleaseAfter = NULL;
|
||||
if (ev == NULL) {
|
||||
ev = ReleaseAfter = ParkEvent::Allocate(NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue