JNIRefs = new int[JNIREFS_ARRAY_LENGTH];
JNIRefs = new int[JNIREFS_ARRAY_LENGTH + JNIREFS_FUDGE_LENGTH];
  public VM_JNIEnvironment (int threadSlot) {    JNIFunctionPointers[threadSlot * 2] = VM_Magic.objectAsAddress(JNIFunctions).toInt();    JNIFunctionPointers[(threadSlot * 2)+1] = 0;  // later contains addr of processor vpStatus word    JNIEnvAddress = VM_Magic.objectAsAddress(JNIFunctionPointers).add(threadSlot*8);    JNIRefs = new int[JNIREFS_ARRAY_LENGTH];    JNIRefs[0] = 0;                       // 0 entry for bottom of stack    JNIRefsTop = 0;    JNIRefsSavedFP = 0;    JNIRefsMax = (JNIRefs.length - 1) * 4;   // byte offset to last entry    // initially TOP and SavedFP -> entry 0 containing 0    alwaysHasNativeFrame = false;  }