use of com.oracle.svm.core.locks.VMMutex in project graal by oracle.
the class VMOperationControlFeature method releaseLock.
private void releaseLock() {
final Log trace = SubstrateOptions.TraceVMOperations.getValue() ? Log.log() : Log.noopLog();
trace.string("[VMOperationControl.releaseLock: ").newline();
final VMMutex lock = getLock();
lock.assertIsLocked("VMOperationControl.releaseLock but not locked.");
unsetLockOwner();
lock.unlock();
trace.string(" isOwner: ").bool(isLockOwner()).string("]").newline();
}