Lines Matching refs:TryLock
460 // Caveat: TryLock() is not necessarily serializing if it returns failure.
463 int ObjectMonitor::TryLock (Thread * Self) {
488 if (TryLock (Self) > 0) {
542 if (TryLock (Self) > 0) {
596 if (TryLock (Self) > 0) break ;
615 if (TryLock(Self) > 0) break ;
746 if (TryLock (Self) > 0) break ;
779 if (TryLock(Self) > 0) break ;
1986 if (TryLock (Self) > 0) return 1 ;
1993 if (TryLock(Self) > 0) {
2200 if (TryLock(Self) > 0) return 1 ;