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