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 211995 - 10s in winsys persistance
Summary: 10s in winsys persistance
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2012-05-03 07:30 UTC by logas81
Modified: 2012-09-17 11:23 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 187609


Attachments
nps snapshot (215.81 KB, application/nps)
2012-05-03 07:30 UTC, logas81
Details

Note You need to log in before you can comment on or make changes to this bug.
Description logas81 2012-05-03 07:30:03 UTC
This bug was originally marked as duplicate of bug 197006, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.1 RC1 (Build 201112071828)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.4-b02, Java(TM) SE Runtime Environment, 1.6.0_29-b11
OS: Linux

User Comments:
logas81: Problem while Netbeans was starting...



Maximum slowness yet reported was 10280 ms, average is 10280
Comment 1 logas81 2012-05-03 07:30:13 UTC
Created attachment 118999 [details]
nps snapshot
Comment 2 Jaroslav Tulach 2012-05-20 14:34:44 UTC
One call to
org.netbeans.core.windows.WindowSystemImpl.load()	99.90191	10 170 ms (99,9%)	6 073 ms	1
leads to many calls to
org.netbeans.modules.settings.convertors.SerialDataConvertor$SettingsInstance.instanceCreate()	51.558174	5 248 ms (51,6%)	4 478 ms	13

Also 4s in 
org.netbeans.modules.localhistory.utils.Utils.hasOpenedEditorPanes()	38.609093	3 930 ms (38,6%)	604 ms	1
Comment 3 Stanislav Aubrecht 2012-09-17 11:23:30 UTC
When the window system is loading then naturally a lot of windows need to be constructed/deserialized.

In this case there's problem with X11 Toolkit which is lazily loading system cursor image.