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 181841

Summary: 4s loading log4j default package resource
Product: platform Reporter: leonhad <leonhad>
Component: Module SystemAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: normal CC: elk1307, jtulach, ravindranathakila
Priority: P2 Keywords: PERFORMANCE
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 160327
Attachments: nps snapshot

Description leonhad 2010-03-11 06:21:08 UTC
Build: NetBeans IDE Dev (Build 201003110200)
VM: OpenJDK Client VM, 1.6.0_0-b11, OpenJDK  Runtime Environment, 1.6.0_0-b11
OS: Linux

User Comments:
ravindranathakila: Expanded Services>Databases for the first time after IDE startup

GUEST: Expanding the Issue Trackres tree view in the Servers guide.

leonhad: Try to list the Issue Trackers



Maximum slowness yet reported was 14735 ms, average is 6671
Comment 1 leonhad 2010-03-11 06:21:17 UTC
Created attachment 95039 [details]
nps snapshot
Comment 2 Jaroslav Tulach 2010-03-12 14:15:04 UTC
Surprisingly this is another example of slowdown when loading default resource via our classloaders. Just find:
org.apache.commons.logging.LogFactory$4.run()
the rest of the system waits for this load to finish.

I am making this P2, as I know this is at least 10th duplicate of such problem. We need to improve classloading from default package, to not open all JAR files.
Comment 3 Jesse Glick 2010-03-12 15:21:24 UTC
core-main #353dd545cd2e
Comment 4 Jesse Glick 2010-05-24 16:45:27 UTC
Reverting spurious priority change.