return VM_Magic.addressAsObject( VM_Address.fromInt(JNIRefs[ offset>>2 ]) );
if (offset < 0) return VM_JNIGlobalRefTable.ref( offset ); else return VM_Magic.addressAsObject( VM_Address.fromInt(JNIRefs[ offset>>2 ]) );
  public Object getJNIRef( int offset ) {    if (offset > JNIRefsTop) {      VM.sysWrite("JNI ERROR: getJNIRef for illegal offset > TOP, ");      VM.sysWrite(offset);       VM.sysWrite("\n");      return null;    }    return VM_Magic.addressAsObject( VM_Address.fromInt(JNIRefs[ offset>>2 ]) );      }