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 213220 - 17s - debugger is because of RP$SlowItem
Summary: 17s - debugger is because of RP$SlowItem
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2012-05-30 08:27 UTC by Alexander Simon
Modified: 2012-06-10 19:12 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 187300


Attachments
nps snapshot (515.77 KB, application/nps)
2012-05-30 08:27 UTC, Alexander Simon
Details
nps snapshot (136.53 KB, application/nps)
2012-05-30 11:53 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2012-05-30 08:27:18 UTC
Build: NetBeans IDE 7.2 Beta (Build 201205031832)
VM: Java HotSpot(TM) Client VM, 20.5-b03, Java(TM) SE Runtime Environment, 1.6.0_30-b12
OS: SunOS

User Comments:
GUEST: opening 4 css files

GUEST: opening a file

toben: switching from one rest service class to another



Maximum slowness yet reported was 16969 ms, average is 6869
Comment 1 Alexander Simon 2012-05-30 08:27:39 UTC
Created attachment 120047 [details]
nps snapshot
Comment 2 Alexander Simon 2012-05-30 11:53:49 UTC
Created attachment 120060 [details]
nps snapshot
Comment 3 Martin Entlicher 2012-05-30 12:39:16 UTC
org.openide.util.RequestProcessor$SlowItem.<init>() is slow and there's nothing we can do about it in debugger.
Probably wontfix.
Comment 4 Jaroslav Tulach 2012-06-01 22:30:55 UTC
There is special constructor for RequestProcessor that always uses the FastItem. Possible errors are then harder to debug, but if you are posting a lot of tasks into the RP, you will see a speedup.
Comment 5 Martin Entlicher 2012-06-04 16:11:11 UTC
Fixed by changeset:   223312:1a5fd12173ae
http://hg.netbeans.org/main/rev/1a5fd12173ae
Comment 6 Quality Engineering 2012-06-05 06:02:11 UTC
Integrated into 'main-golden', will be available in build *201206050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/1a5fd12173ae
User: mentlicher@netbeans.org
Log: #213220: Do not require stack traces of RP tasks posted in AWT.