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 - org.netbeans.modules.maven.MavenProjectPropsImpl.get: LowPerformance took 11280 ms.
Summary: org.netbeans.modules.maven.MavenProjectPropsImpl.get: LowPerformance took 112...
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2012-12-02 18:00 UTC by Exceptions Reporter
Modified: 2016-07-14 01:51 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 173621


Attachments
nps snapshot (80.04 KB, application/nps)
2012-12-02 18:00 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ...