VM_Registers exceptionRegisters) {
VM_Registers exceptionRegisters) throws VM_PragmaInterruptible {
  public static void resizeCurrentStack(int newSize,                                         VM_Registers exceptionRegisters) {    if (traceAdjustments) VM.sysWrite("VM_Thread: resizeCurrentStack\n");    if (!VM.BuildForConcurrentGC && VM_Collector.gcInProgress())      VM.sysFail("system error: resizing stack while GC is in progress");    int[] newStack = VM_RuntimeStructures.newStack(newSize);    VM_Processor.getCurrentProcessor().disableThreadSwitching();    transferExecutionToNewStack(newStack, exceptionRegisters);    VM_Processor.getCurrentProcessor().enableThreadSwitching();    if (traceAdjustments) {      VM.sysWrite("VM_Thread: resized stack ");      VM.sysWrite(getCurrentThread().getIndex());      VM.sysWrite(" to ");      VM.sysWrite(((getCurrentThread().stack.length << 2)/1024));      VM.sysWrite("k\n");    }  }