int hashState = VM_Magic.getIntAtOffset(fromObj, STATUS_OFFSET) & HASH_STATE_MASK; if (hashState != HASH_STATE_UNHASHED) {
VM_Word hashState = VM_Magic.getWordAtOffset(fromObj, STATUS_OFFSET).and(HASH_STATE_MASK); if (hashState.NE(HASH_STATE_UNHASHED)) {
  public static int bytesRequiredWhenCopied(Object fromObj, VM_Class type) {    int size = type.getInstanceSize();    if (ADDRESS_BASED_HASHING) {      int hashState = VM_Magic.getIntAtOffset(fromObj, STATUS_OFFSET) & HASH_STATE_MASK;      if (hashState != HASH_STATE_UNHASHED) {        size += HASHCODE_BYTES;      }    }    // JMTK requires sizes to be multiples of BYTES_IN_ADDRESS    // Jikes RVM currently forces scalars to be multiples of    // BYTES_IN_INT. So in 64 bit mode have to do something extra here.    if (BYTES_IN_INT != BYTES_IN_ADDRESS) {      size = VM_Memory.alignUp(size, BYTES_IN_ADDRESS);    }    return size;  }