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 223145

Summary: org.netbeans.modules.maven.MavenProjectPropsImpl.get: LowPerformance took 11280 ms.
Product: projects Reporter: Exceptions Reporter <exceptions_reporter>
Component: MavenAssignee: Tomas Stupka <tstupka>
Status: RESOLVED FIXED    
Severity: normal CC: imadbougataya, krischik, lolo_101, wshackleAtGmail
Priority: P3 Keywords: PERFORMANCE
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 173621
Attachments: nps snapshot

Description Exceptions Reporter 2012-12-02 18:00:07 UTC
Build: NetBeans IDE 7.3 Beta 2 (Build 201211062253)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.6-b01-415, Java(TM) SE Runtime Environment, 1.6.0_31-b04-415-10M3646
OS: Mac OS X

User Comments:
krischik: all pop up menues are damm slow



Maximum slowness yet reported was 11297 ms, average is 7200
Comment 1 Exceptions Reporter 2012-12-02 18:00:09 UTC
Created attachment 128725 [details]
nps snapshot
Comment 2 Milos Kleint 2012-12-03 07:53:14 UTC
the AWT thread is waiting in synchronized block on other thread's completion. The other thread is loading MavenProject instance in non-project loading loop. That's a sign of having non-opened projects files opened and selected, along with heap memory almost used up. Only in that case MavenProject softReferences release the reference. But in this case the instance is reloaded and coincidently AWT thread takes the hit as well. 
No clear fix in sight, user level workaround is to open projects one is working with and keep enough memory to avoid hitting the ceiling frequently..
Comment 3 Milos Kleint 2013-11-28 08:45:47 UTC
report 689469 should be fixed by recent rewrite of M2AuxiliaryConfigImpl that is lighter on filesystem touches
Comment 4 Tomas Stupka 2016-06-23 09:05:58 UTC
one more report since 7.4 beta - concurrent read access
Comment 5 Tomas Stupka 2016-06-23 12:58:19 UTC
fixed in jet-main #fe40b875f0a9
Comment 6 Quality Engineering 2016-06-24 01:46:12 UTC
Integrated into 'main-silver', will be available in build *201606240002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/fe40b875f0a9
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #223145 - org.netbeans.modules.maven.MavenProjectPropsImpl.get: LowPerformance took 11280 ms.
Comment 7 Quality Engineering 2016-07-14 01:51:51 UTC
Integrated into 'main-silver', will be available in build *201607140002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d466a13d3f90
User: Tomas Stupka <tstupka@netbeans.org>
Log: issue #223145 - org.netbeans.modules.maven.MavenProjectPropsImpl.get: LowPerformance took 11280 ms.
one more change ...