Lines Matching refs:runner
125 private volatile Thread runner = null;
142 return Objects.equals(runner, thd);
166 if (runner == null) {
167 throw new TestException("We don't have any runner holding " + lock);
169 Suspension.suspend(runner);
174 if (runner == null) {
177 return getCurrentContendedMonitor(runner);
184 if (runner != null) {
187 runner = new Thread(() -> {
237 runner.setUncaughtExceptionHandler((t, e) -> { exe = e; });
238 runner.start();
243 if (IsLocked() && Objects.equals(runner, Monitors.getObjectMonitorUsage(lock).owner)) {
250 if (runner == null) {
256 !Arrays.asList(Monitors.getObjectMonitorUsage(lock).notifyWaiters).contains(runner));
260 if (runner == null) {
266 runner.getState() != Thread.State.BLOCKED ||
267 !Arrays.asList(Monitors.getObjectMonitorUsage(lock).waiters).contains(runner));
302 runner.interrupt();
318 Thread run = runner;
319 runner = null;
333 if (runner != null) {
334 Thread run = runner;
335 runner = null;