public static void printStackTraces(int[] stack, int osrFPoff) {
public static void printStackTraces(int[] stack, Offset osrFPoff) {
  public static void printStackTraces(int[] stack, int osrFPoff) {    VM.disableGC();    Address fp = VM_Magic.objectAsAddress(stack).add(osrFPoff);    Address ip = VM_Magic.getReturnAddress(fp);    fp = VM_Magic.getCallerFramePointer(fp);    while (VM_Magic.getCallerFramePointer(fp).NE(STACKFRAME_SENTINEL_FP) ){      int cmid = VM_Magic.getCompiledMethodID(fp);      if (cmid == INVISIBLE_METHOD_ID) {        VM.sysWriteln(" invisible method ");      } else {        VM_CompiledMethod cm = VM_CompiledMethods.getCompiledMethod(cmid);        int instrOff = cm.getInstructionOffset(ip);        cm.printStackTrace(instrOff, PrintContainer.get(System.out));        if (cm.getMethod().getDeclaringClass().isBridgeFromNative()) {          fp = VM_Runtime.unwindNativeStackFrame(fp);        }      }            ip = VM_Magic.getReturnAddress(fp);      fp = VM_Magic.getCallerFramePointer(fp);    }    VM.enableGC();  }