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