void (@Nullable ThreadReferenceProxy thread) { if (!Registry.is("debugger.monitor.blocked.threads")) return; DebuggerManagerThreadImpl.assertIsManagerThread(); if (thread != null) { myWatchedThreads.add(thread); if (myTask == null) { myTask = JobScheduler.getScheduler().scheduleWithFixedDelay(this::checkBlockingThread, 5, 5, TimeUnit.SECONDS); } } }