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 173932 - Many calls to slow Task.schedule()
Summary: Many calls to slow Task.schedule()
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Entlicher
URL: http://statistics.netbeans.org/except...
Keywords: PERFORMANCE
: 173925 173935 173939 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-07 09:03 UTC by gtg
Modified: 2009-10-09 23:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 156024


Attachments
nps snapshot (22.60 KB, bin/nps)
2009-10-07 09:03 UTC, gtg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gtg 2009-10-07 09:03:20 UTC
Build: NetBeans IDE Dev (Build 200910061401)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03
OS: Linux, 2.6.27.29-0.1-default, amd64

User Comments:
dbostwick: Simply cutting a line of text to paste in another location.  I hope this gets better.


Maximum slowness yet reported was 69141 ms, average is 23121
Comment 1 gtg 2009-10-07 09:03:25 UTC
Created attachment 88970 [details]
nps snapshot
Comment 2 Martin Entlicher 2009-10-07 15:07:22 UTC
Our code is written with assumption that Task.schedule() is fast and it's called several times during storing of our
properties.

If there are no plans to seed up Task.schedule() or filter it out from performance reports, we'd have to rewrite
Properties to get rid of this.
Comment 3 Martin Entlicher 2009-10-07 15:08:16 UTC
I'm going to reduce number of calls to Task.schedule() in Properties.
Comment 4 Martin Entlicher 2009-10-07 16:32:33 UTC
*** Issue 173935 has been marked as a duplicate of this issue. ***
Comment 5 Martin Entlicher 2009-10-07 17:25:31 UTC
Fixed (workarounded) in changeset:   148426:8d89f65348bb
http://hg.netbeans.org/main/rev/8d89f65348bb
Comment 6 Martin Entlicher 2009-10-07 17:27:45 UTC
*** Issue 173939 has been marked as a duplicate of this issue. ***
Comment 7 Martin Entlicher 2009-10-08 14:36:13 UTC
*** Issue 173925 has been marked as a duplicate of this issue. ***
Comment 8 Quality Engineering 2009-10-09 23:07:30 UTC
Integrated into 'main-golden', will be available in build *200910091401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/8d89f65348bb
User: mentlicher@netbeans.org
Log: #173932 - Reduce the number of calls to Task.schedule().