JVM hangs on hotswap

In debugger session, after recompilation of a class, IDEA warns me that the hotswap operation might cause the JVM to hang, which also happens if I confirm the operation.

Is there any way to diagnose what/who is the culprit for hanging the JVM?

1 comment
Comment actions Permalink

Found the following stack trace from IDEA messages:


null: null
java.lang.AssertionError: null
 at com.intellij.openapi.diagnostic.DefaultLogger.error(DefaultLogger.java:50)
 at com.intellij.openapi.diagnostic.Logger.error(Logger.java:69)
 at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:1785)
 at com.intellij.debugger.impl.ReloadClassesWorker.reloadClasses(ReloadClassesWorker.java:162)
 at com.intellij.debugger.impl.HotSwapManager.a(HotSwapManager.java:159)
 at com.intellij.debugger.impl.HotSwapManager.access$300(HotSwapManager.java:41)
 at com.intellij.debugger.impl.HotSwapManager$7.action(HotSwapManager.java:239)
 at com.intellij.debugger.engine.events.DebuggerCommandImpl.run(DebuggerCommandImpl.java:44)
 at com.intellij.debugger.engine.DebuggerManagerThreadImpl.processEvent(DebuggerManagerThreadImpl.java:141)
 at com.intellij.debugger.engine.DebuggerManagerThreadImpl.processEvent(DebuggerManagerThreadImpl.java:39)
 at com.intellij.debugger.impl.InvokeThread.a(InvokeThread.java:141)
 at com.intellij.debugger.impl.InvokeThread.access$100(InvokeThread.java:29)
 at com.intellij.debugger.impl.InvokeThread$WorkerThreadRequest.run(InvokeThread.java:54)
 at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:434)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:619)
 at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:145)

0

Please sign in to leave a comment.