Searched defs:lock_count (Results 1 - 1 of 1) sorted by relevance

/openjdk7/hotspot/src/os/windows/vm/
H A DthreadCritical_windows.cpp38 static volatile jint lock_count = -1; variable
58 assert(lock_count == -1, "Mutex being deleted while recursively locked");
68 while (Atomic::cmpxchg(0, &lock_count, -1) != -1) {
86 lock_count++;
94 assert(lock_count >= 0, "Attempt to unlock when already unlocked");
96 if (lock_count == 0) {
99 lock_count = -1;
105 lock_count--;

Completed in 38 milliseconds