VM.sysWriteHex(VM_Magic.objectAsAddress(lockedObject).add(VM_ObjectModel.defaultThinLockOffset()).loadAddress());
VM.sysWriteHex(VM_Magic.objectAsAddress(lockedObject).loadAddress(VM_ObjectModel.defaultThinLockOffset()));
  void dump() {    if (!active)       return;    VM.sysWrite("Lock "); VM.sysWriteInt(index); VM.sysWrite(":\n");    VM.sysWrite(" lockedObject: 0x"); VM.sysWriteHex(VM_Magic.objectAsAddress(lockedObject));     VM.sysWrite("   thin lock = ");     VM.sysWriteHex(VM_Magic.objectAsAddress(lockedObject).add(VM_ObjectModel.defaultThinLockOffset()).loadAddress());    VM.sysWrite("\n");    VM.sysWrite(" ownerId: "); VM.sysWriteInt(ownerId); VM.sysWrite(" recursionCount: "); VM.sysWriteInt(recursionCount); VM.sysWrite("\n");    VM.sysWrite(" entering: "); entering.dump();    VM.sysWrite(" waiting: ");  waiting.dump();    VM.sysWrite(" mutexLatestContender: ");    if (mutex.latestContender == null) VM.sysWrite("<null>");    else                     VM.sysWriteHex(mutex.latestContender.id);    VM.sysWrite("\n");  }