This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I have tried to find a memory leak in an application by its junit test. I invoked Take snapshot after the test had finished and UI in IDE was blocked by something. Threads dump shows that main part of Take Snapshot action (synchronized method in jfluid) is called from event dispatch thread.
Created attachment 29799 [details] threaddump
Will fix for 6.0. Lowering priority as it seems not to dramatically affect the user.
only deadlocks ide :) if there is some problem during taking snapshot
Causes ui deadlocks in 5.5: "AWT-EventQueue-1" prio=1 tid=0x08f7f618 nid=0x1431 waiting for monitor entry [0xb1169000..0xb116a1c0] com.sun.tools.profiler.ProfilerClient.getMemoryProfilingResultsSnapshot(ProfilerClient.java:581) - waiting to lock <0x856dea58> (a com.sun.tools.profiler.ProfilerClient) org.netbeans.modules.profiler.ResultsManager.takeSnapshot(ResultsManager.java:133) org.netbeans.modules.profiler.ProfilerControlPanel2$ResultsSnippetPanel.actionPerformed(ProfilerControlPanel2.java:1116) javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849) It can occure when heap memory of ide is almost full during taking of snapshot.
Fixed in trunk.
*** Issue 71602 has been marked as a duplicate of this issue. ***
v
Not for 5.5.