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 171383 - 30s in ZIPFile.open()
Summary: 30s in ZIPFile.open()
Status: CLOSED WORKSFORME
Alias: None
Product: ide
Classification: Unclassified
Component: Performance (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@performance
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-03 10:30 UTC by tusharvjoshi
Modified: 2011-05-25 11:39 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 157283


Attachments
nps snapshot (18.21 KB, bin/nps)
2009-09-03 10:30 UTC, tusharvjoshi
Details
nps snapshot (8.41 KB, bin/nps)
2009-09-03 11:09 UTC, tusharvjoshi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tusharvjoshi 2009-09-03 10:30:26 UTC
Build: NetBeans IDE Dev (Build 200909011401)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02-83, Java(TM) SE Runtime Environment, 1.6.0_13-b03-211
OS: Mac OS X, 10.5.8, x86_64

User Comments:
tusharvjoshi: Opening nodes in services panel


Maximum slowness yet reported was 22886 ms, average is 10636
Comment 1 tusharvjoshi 2009-09-03 10:30:31 UTC
Created attachment 87031 [details]
nps snapshot
Comment 2 tusharvjoshi 2009-09-03 11:09:37 UTC
Build: NetBeans IDE Dev (Build 200909011401)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02-83, Java(TM) SE Runtime Environment, 1.6.0_13-b03-211
OS: Mac OS X, 10.5.8, x86_64

User Comments: 

Maximum slowness yet reported was 31174 ms, average is 14743
Comment 3 tusharvjoshi 2009-09-03 11:09:41 UTC
Created attachment 87035 [details]
nps snapshot
Comment 4 Exceptions Reporter 2009-09-03 11:09:46 UTC
This issue already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=157283
Comment 5 t_h 2009-09-04 14:53:33 UTC
30s in class loading?
Comment 6 Jaroslav Tulach 2009-09-04 15:53:53 UTC
The fifth snapshot shows Lucene Merge thread opening RandomAccessFile. Could that be the cause why other I/O 
operations are blocked for 30s? Probably not.

http://statistics.netbeans.org/exceptions/exception.do?id=254614

Btw. the sample is quite OK. Samples 3105, Average 9.999, Minimum 0.758, Maximum 30.216

Next snapshot is again from MacOSX and it shows AWT thread being blocked on ZIPFile, but other threads successfully 
reading from ZIPFiles:
http://statistics.netbeans.org/exceptions/exception.do?id=254579

The last reply from JDK team was that they cannot help us with JDK on MacOSX, as it may have its own tweaks in native 
code. So until there is some new report on other platform than MacOSX (there are two so far, but old format of the 
snapshot), I am closing as worksforme.