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 188504 - Controller.runNow() took 5s - updating list while iterates through that
Summary: Controller.runNow() took 5s - updating list while iterates through that
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Progress (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jan Peska
URL:
Keywords: PERFORMANCE
: 206688 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-08 18:11 UTC by janario
Modified: 2012-01-04 15:43 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 166716


Attachments
nps snapshot (5.75 KB, application/nps)
2010-07-08 18:11 UTC, janario
Details

Note You need to log in before you can comment on or make changes to this bug.
Description janario 2010-07-08 18:11:30 UTC
Build: NetBeans IDE 6.9 (Build 201006101454)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Linux

User Comments:
GUEST: I stopped a build/run of a netbeans platform application that crashed with a java.lang.OutOfMemoryError: Java heap space error. GL



Maximum slowness yet reported was 9937 ms, average is 6999
Comment 1 janario 2010-07-08 18:11:33 UTC
Created attachment 100707 [details]
nps snapshot
Comment 2 Jan Peska 2012-01-03 12:54:17 UTC
*** Bug 206688 has been marked as a duplicate of this bug. ***
Comment 3 Jan Peska 2012-01-03 14:32:47 UTC
fix: http://hg.netbeans.org/core-main/rev/0690e0e51dfa
Comment 4 Quality Engineering 2012-01-04 15:43:23 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/0690e0e51dfa
User: Jan Peska <jpeska@netbeans.org>
Log: Issue #188504 - Controller.runNow() took 5s - updating list while iterates through that
Performance upgrade - eventQueue field is now initialized as LinkedList - removing its elements is faster