Lines Matching defs:Self
128 int JvmtiRawMonitor::SimpleEnter (Thread * Self) {
130 if (Atomic::cmpxchg_ptr (Self, &_owner, NULL) == NULL) {
134 ObjectWaiter Node (Self) ;
135 Self->_ParkEvent->reset() ; // strictly optional
142 if (_owner == NULL && Atomic::cmpxchg_ptr (Self, &_owner, NULL) == NULL) {
149 Self->_ParkEvent->park() ;
154 int JvmtiRawMonitor::SimpleExit (Thread * Self) {
155 guarantee (_owner == Self, "invariant") ;
177 int JvmtiRawMonitor::SimpleWait (Thread * Self, jlong millis) {
178 guarantee (_owner == Self , "invariant") ;
181 ObjectWaiter Node (Self) ;
190 SimpleExit (Self) ;
191 guarantee (_owner != Self, "invariant") ;
195 Self->_ParkEvent->park();
197 ret = Self->_ParkEvent->park(millis);
228 SimpleEnter (Self) ;
230 guarantee (_owner == Self, "invariant") ;
235 int JvmtiRawMonitor::SimpleNotify (Thread * Self, bool All) {
236 guarantee (_owner == Self, "invariant") ;