static public boolean refInAnyHeap(VM_Address ref) throws VM_PragmaUninterruptible { for (int i=0; i<heapCount; i++) { if (allHeaps[i].refInHeap(ref)) { return true; } } return false; }
  public static void boot(VM_BootHeap bh, VM_MallocHeap mh, VM_BootRecord br) throws VM_PragmaUninterruptible {    bootHeap = bh;    mallocHeap = mh;    bootRecord = br;    bootHeap.start = bootRecord.bootImageStart;    bootHeap.end = bootRecord.bootImageEnd;    bootHeap.setAuxiliary();    if (VM.VerifyAssertions) VM.assert(bootHeap.refInHeap(VM_Magic.objectAsAddress(bootHeap)));  }  /**   * Return true if the given reference is to an    * object that is located within some heap   */  static public boolean refInAnyHeap(VM_Address ref) throws VM_PragmaUninterruptible {    for (int i=0; i<heapCount; i++) {      if (allHeaps[i].refInHeap(ref)) {	return true;      }    }    return false;  }