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 183934 - 4.5s - java.util.jar.JarFile.initializeVerifier blocks classloading in other threads
Summary: 4.5s - java.util.jar.JarFile.initializeVerifier blocks classloading in other ...
Status: RESOLVED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2010-04-12 15:54 UTC by Petr Jiricka
Modified: 2010-04-16 17:12 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 167921


Attachments
nps snapshot (256.00 KB, application/nps)
2010-04-12 15:54 UTC, Petr Jiricka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2010-04-12 15:54:14 UTC
Build: NetBeans IDE Dev (Build web-main-2982-on-100412)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.3-b01-101, Java(TM) SE Runtime Environment, 1.6.0_17-b04-248-9M3125
OS: Mac OS X

User Comments:
pjiricka: Features activation.



Maximum slowness yet reported was 4508 ms, average is 3930
Comment 1 Petr Jiricka 2010-04-12 15:54:20 UTC
Created attachment 97108 [details]
nps snapshot
Comment 2 Petr Jiricka 2010-04-12 16:06:22 UTC
Split into a separate issue, originally a part of bug 177970.
Comment 3 Jaroslav Tulach 2010-04-16 16:50:31 UTC
One report shows that creating presenter for
com.eviware.soapui.netbeans.module.actions.SoapUIMenuAction.getMenuPresenter()
is quite slow.

The other two reports are about
org.openide.awt.AcceleratorBinding.setAccelerator()
which is duplicate of bug 184089

The forth issue 
http://statistics.netbeans.org/exceptions/exception.do?id=369376
is caused by a signed Jar. It blocks classloading in other threads significantly:
java.util.jar.JarFile.initializeVerifier()
it is called from
org.netbeans.lib.uihandler.PasswdEncryption.encrypt(), but I am not sure if that matters.

Given the fact that we don't probably care about eviware.soapui and the other issues are already tracked, let's use this issue as a report for
http://statistics.netbeans.org/exceptions/exception.do?id=369376
assigning to module system, as it seems to be classloader related.
Comment 4 Jesse Glick 2010-04-16 17:12:15 UTC
(In reply to comment #3)
> http://statistics.netbeans.org/exceptions/exception.do?id=369376
> is caused by a signed Jar.

Coming from the ext class loader, nothing to be done outside the JDK.