final Address addr = ObjectReference.fromObject(dst).toAddress().add(
flagsOffset);
int oldValue;
int newValue;
do {
oldValue = addr.prepareInt();
if ((oldValue & ObjectFlags.STATUS_FINALIZED) != 0) {
return;
}
newValue = oldValue | ObjectFlags.STATUS_FINALIZED;
} while (!addr.attempt(oldValue, newValue));