Lines Matching refs:action
124 private final AtomicStampedReference<Action> action; field in Monitors.LockController
137 this.action = new AtomicStampedReference(Action.HOLD, 0); in LockController()
157 int stamp = action.getStamp(); in setAction()
159 while (!action.compareAndSet(Action.HOLD, a, stamp, stamp + 1)) { in setAction()
160 stamp = action.getStamp(); in setAction()
196 cur_action = action.get(stamp_h); in DoLock()
220 throw new Error("Unknown action " + action); in DoLock()
224 action.compareAndSet(cur_action, Action.HOLD, stamp, stamp+1); in DoLock()
307 while (action.getReference() != Action.HOLD) { checkException(); } in waitForActionToFinish()
322 action.set(Action.HOLD, 0); in DoUnlock()
339 action.set(Action.HOLD, 0); in DoCleanup()