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

Summary: Controller.runNow() took 5s - updating list while iterates through that
Product: platform Reporter: janario
Component: ProgressAssignee: Jan Peska <JPESKA>
Status: RESOLVED FIXED    
Severity: normal CC: dominicjr, exceptions_reporter, janario
Priority: P3 Keywords: PERFORMANCE
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 166716
Attachments: nps snapshot

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