void (@Nullable Project project) { ApplicationManager.getApplication().executeOnPooledThread(() -> { Path dumpDir = PerformanceWatcher.getInstance().dumpThreads("", false, false); Notification notification = createNotification(dumpDir); notification.notify(project); }); }