boolean inHeap = VMResource.refInVM(addr);
boolean inHeap = VMResource.addressInVM(addr);
  private static final int addressToSlot(Address addr) //throws InlinePragma   {    if (Assert.VERIFY_ASSERTIONS) {          boolean inHeap = VMResource.refInVM(addr);      if (!inHeap)         debugln(0, "Bad address: ", addr);      Assert._assert(inHeap, "Address is outside the heap");    }       return (addr.toWord().rshl(SLOT_OFFSET).toInt() & (BITMAPS_IN_PAGEMAP - 1));  }