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 182819

Summary: AWT thread blocked for 162057 ms.
Product: serverplugins Reporter: Exceptions Reporter <exceptions_reporter>
Component: GlassFishAssignee: Vince Kraemer <vkraemer>
Status: RESOLVED FIXED    
Severity: normal CC: dkonecny
Priority: P3 Keywords: PERFORMANCE
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 165151
Attachments: nps snapshot

Description Exceptions Reporter 2010-03-25 19:01:40 UTC
Build: NetBeans IDE 6.8 (Build 200912041610)
VM: Java HotSpot(TM) Client VM, 1.6.0-b105, Java(TM) SE Runtime Environment, 1.6.0-b105
OS: Windows XP
Maximum slowness yet reported was 162057 ms, average is 88388
Comment 1 Exceptions Reporter 2010-03-25 19:01:46 UTC
Created attachment 95857 [details]
nps snapshot
Comment 2 David Konecny 2010-03-29 23:41:58 UTC
org.netbeans.modules.glassfish.javaee.Hk2JavaEEPlatformFactory.getJ2eePlatformImpl is spending about two minutes in ZipFile.open() and because it is called under project read lock it blocks other code.
Comment 3 Vince Kraemer 2010-04-02 21:24:10 UTC
See http://hg.netbeans.org/web-main/rev/c0748a32373c

this probably resolved the issue... since the initLibraries will return
immediately.