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 182156

Summary: org.netbeans.modules.editor.settings.storage.ProfilesTracker.rebuild() holds a lock for too long
Product: editor Reporter: esmithbss <esmithbss>
Component: SettingsAssignee: David Strupl <dstrupl>
Status: RESOLVED WORKSFORME    
Severity: normal CC: ebaazizi
Priority: P3 Keywords: PERFORMANCE
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 161896
Attachments: nps snapshot

Description esmithbss 2010-03-16 19:44:44 UTC
Build: NetBeans IDE Dev (Build 201003160201)
VM: Java HotSpot(TM) Client VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07
OS: Linux

User Comments:
GUEST: Changed my preferences to fold import statements by default

esmithbss: Saving updates to the NetBeans Options and Preferences

GUEST: Saving a style



Maximum slowness yet reported was 21627 ms, average is 7921
Comment 1 esmithbss 2010-03-16 19:44:50 UTC
Created attachment 95262 [details]
nps snapshot
Comment 2 esmithbss 2010-03-17 14:42:19 UTC
Is it possible to do something on a relaunch of the IDE.

Something that could "verify" the existance of the paths and configurations within the cache, then report the issues and recommended fixes.

Note:  This is not a deep dive into the cache to re-verify everything.  A path check or test which is rather fast should suffice.
Comment 3 esmithbss 2010-03-17 14:46:57 UTC
Ignore last comment.  It was for a different bug.
Comment 4 David Strupl 2010-10-12 12:28:53 UTC
Lot of time in the snapshots is eaten by inefficient mime recognition which was fixed by Vita some time ago. As there are no newer reports I am closing this one as works for me. Let's wait if there are some newer reports with similar problem otherwise I think that can remain closed.