Lines Matching refs:ev
4526 void Thread::muxAcquireW (volatile intptr_t * Lock, ParkEvent * ev) {
4535 if (ev == NULL) {
4536 ev = ReleaseAfter = ParkEvent::Allocate (NULL) ;
4538 assert ((intptr_t(ev) & LOCKBIT) == 0, "invariant") ;
4540 guarantee (ev->OnList == 0, "invariant") ;
4554 ev->reset() ;
4555 ev->OnList = intptr_t(Lock) ;
4563 ev->OnList = 0 ;
4576 ev->ListNext = (ParkEvent *) (w & ~LOCKBIT );
4577 if (Atomic::cmpxchg_ptr (intptr_t(ev)|LOCKBIT, Lock, w) == w) break ;
4580 while (ev->OnList != 0) {
4581 ev->park() ;