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 188691 - 5.6s in preferences.save() blocks get
Summary: 5.6s in preferences.save() blocks get
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Options&Settings (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2010-07-15 09:15 UTC by tnleeuw
Modified: 2012-11-07 17:18 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 168374


Attachments
nps snapshot (6.04 KB, application/nps)
2010-07-15 09:15 UTC, tnleeuw
Details
nps snapshot (51.42 KB, application/nps)
2010-09-16 14:14 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tnleeuw 2010-07-15 09:15:17 UTC
Build: NetBeans IDE Dev (Build 201007130001)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Windows Vista

User Comments:
tnleeuw: Entering javascript code; not waiting for a code-completion or anything...



Maximum slowness yet reported was 5648 ms, average is 4101
Comment 1 tnleeuw 2010-07-15 09:15:22 UTC
Created attachment 100849 [details]
nps snapshot
Comment 2 Jaroslav Tulach 2010-07-16 10:29:36 UTC
org.netbeans.core.startup.preferences.PropertiesStorage.save() seems to by slowed down in FileOutputStream.close(), but alas, this also blocks AWT which tries to do getInt(...). I am sure this is unnecessary
Comment 3 Exceptions Reporter 2010-09-16 14:14:57 UTC
Created attachment 102047 [details]
nps snapshot

Opening project
Comment 4 Petr Cyhelsky 2012-11-07 17:18:10 UTC
latest report is from 7.1 RC2 - Doesn't seem to be problem now