if (VM.VerifyAssertions) VM.assert(mine.freeLock == null);
if (VM.VerifyAssertions) VM._assert(mine.freeLock == null);
  private static void localizeFreeLocks () {    if (true) return; // TEMP    VM_Processor mine = VM_Processor.getCurrentProcessor();    if (VM.VerifyAssertions) VM.assert(mine.freeLock == null);    lockAllocationMutex.lock();    if (globalFreeLocks <= LOCK_ALLOCATION_UNIT_SIZE){      mine.freeLock   = globalFreeLock;      mine.freeLocks  = globalFreeLocks;      globalFreeLock  = null;      globalFreeLocks = 0;    } else {      VM_Lock p = null;      VM_Lock q = globalFreeLock;      for (int i=0; i<LOCK_ALLOCATION_UNIT_SIZE; i++) {	p = q;	q = q.nextFreeLock;      }      p.nextFreeLock   = null;      mine.freeLock    = globalFreeLock;      mine.freeLocks   = LOCK_ALLOCATION_UNIT_SIZE;      globalFreeLock   = q;      globalFreeLocks -= LOCK_ALLOCATION_UNIT_SIZE;    }    lockAllocationMutex.unlock();  }