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

Summary: 10s in winsys persistance
Product: platform Reporter: logas81 <logas81>
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: RESOLVED WONTFIX    
Severity: normal CC: tstupka
Priority: P3 Keywords: PERFORMANCE
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 187609
Attachments: nps snapshot

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.