oldValue = addr.prepareInt();
if ((oldValue & ObjectFlags.STATUS_FINALIZED) != 0) {
return;
}
newValue = oldValue | ObjectFlags.STATUS_FINALIZED;
} while (!addr.attempt(oldValue, newValue));
// } while (!Unsafe.atomicCompareAndSwap(addr, oldValue, newValue));
}
/**
* Stop and block all threads (on all processors) on a GC safe point. Only