void (SuspendContextImpl context, Object resumeData) { SuspendManager suspendManager = context.getDebugProcess().getSuspendManager(); ResumeData data = (ResumeData)resumeData; ThreadReferenceProxyImpl thread = context.getThread(); if (data.myIsFrozen && !suspendManager.isFrozen(thread)) { suspendManager.freezeThread(thread); } LOG.debug("RestoreAfterResume SuspendContextImpl..."); LOG.assertTrue(context.myResumedThreads == null); if (data.myResumedThreads != null) { data.myResumedThreads.forEach(ThreadReferenceProxyImpl::resume); context.myResumedThreads = data.myResumedThreads; } }