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.

Bug 239378 - org.netbeans.modules.profiler.heapwalk.ui.OverviewControllerUI$2.showURL: LowPerformance took 201272 ms.
Summary: org.netbeans.modules.profiler.heapwalk.ui.OverviewControllerUI$2.showURL: Low...
Status: STARTED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords: PERFORMANCE, VISUALVM
Depends on:
Blocks:
 
Reported: 2013-12-11 15:33 UTC by Ondrej Vrabec
Modified: 2013-12-18 02:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 205930


Attachments
nps snapshot (347.62 KB, application/nps)
2013-12-11 15:34 UTC, Ondrej Vrabec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Vrabec 2013-12-11 15:33:59 UTC
This issue was reported manually by ovrabec.
It already has 1 duplicates 


Build: NetBeans IDE Dev (Build 20131209-8c7c3f646000)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b59, Java(TM) SE Runtime Environment, 1.8.0-ea-b117
OS: Linux

User Comments:
ovrabec: happened while processing a heap dump. I accidentally clicked on the link Thread causing OOME exception: "thread name" while the IDE was computing retained sizes



Maximum slowness yet reported was 201272 ms, average is 201272
Comment 1 Ondrej Vrabec 2013-12-11 15:34:04 UTC
Created attachment 143067 [details]
nps snapshot
Comment 2 Jiri Sedlacek 2013-12-13 15:13:24 UTC
Heap model now accessed outside of EDT: http://hg.netbeans.org/profiler-main/rev/22e373839762.
Comment 3 Jiri Sedlacek 2013-12-13 15:14:19 UTC
There's some additional work to address this issue:

Calling Heap.getJavaClassByID(long) or Heap.getInstanceByID(long) probably doesn't need to be blocked by computing retained sizes.

If decided to block the above methods while computing retained sizes, the user should see a progress while waiting for the requested action.
Comment 4 Quality Engineering 2013-12-18 02:58:59 UTC
Integrated into 'main-silver', will be available in build *201312180002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/22e373839762
User: Jiri Sedlacek <jis@netbeans.org>
Log: Partial fix of #239378 - accessing heap model off the EDT