this.jniRefs = env.JNIRefs; this.jniNextRef = env.JNIRefsTop; this.jniFramePtr = env.JNIRefsSavedFP;
this.jniRefs = env.refsArray(); this.jniNextRef = env.refsTop(); this.jniFramePtr = env.savedRefsFP();
  public void newStackWalk(VM_Thread thread) {    super.newStackWalk(thread);   // sets this.thread, inits registerLocations[]    VM_JNIEnvironment env = this.thread.getJNIEnv();    // the "primordial" thread, created by JDK in the bootimage, does not have    // a JniEnv object, all threads created by the VM will.    if (env != null) {      this.jniRefs = env.JNIRefs;      this.jniNextRef = env.JNIRefsTop;      this.jniFramePtr = env.JNIRefsSavedFP;        this.jniSavedProcessorRegAddr = VM_Address.zero();                                      // necessary so getNextRefAddr() can be used to report                                    // jniRefs in a "frame", without calling setup.     }   }