static void growLocks() throws VM_PragmaInterruptible {
static void growLocks() throws VM_PragmaLogicallyUninterruptible  {
  static void growLocks() throws VM_PragmaInterruptible {    VM_Lock [] oldLocks = VM_Scheduler.locks;    int newSize = 2 * oldLocks.length;    if (newSize > MAX_LOCKS + 1)      VM.sysFail("Cannot grow lock array greater than maximum possible index");    VM_Lock [] newLocks = new VM_Lock[newSize];    for (int i=0; i<oldLocks.length; i++)      newLocks[i] = oldLocks[i];    VM_Scheduler.locks = newLocks;  }