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 241367

Summary: 3.8s in classloading - ignore snapshot if time spend in ProxyClassLoader.loadXXX
Product: ide Reporter: Exceptions Reporter <exceptions_reporter>
Component: Exceptions ReporterAssignee: Tomas Hurka <thurka>
Status: NEW ---    
Severity: normal CC: 22bueno, akooberoi, andersondeana, aquaglia, bennyl, bladefidz, daniel_9328, dankauffman, dima14682, dzb3688, egeek, eripsait, federico.rocchegiani, gilbertoca, harvero, hi10IT, jomello_br, josmarl, jtulach, jyeary, KhArtNJava, kkidman, mcabrry, mdaltaf23, misterm, nalin1990, newworldpradeep, nleck, ostermann_bernd, ruz, rweaver, sachith.dickwella, Sam.MIT, scanti, seyfer, subaiesarah, szmitek, thilina01, tomasbabic, unai, vasiliy_pdk, WebSofter, zoren
Priority: P3 Keywords: PERFORMANCE
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 207258
Attachments: nps snapshot

Description Exceptions Reporter 2014-02-04 09:16:30 UTC
This bug was originally marked as duplicate of bug 232939, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0 Beta (Build 201401141042)
VM: OpenJDK 64-Bit Server VM, 24.45-b08, OpenJDK Runtime Environment, 1.7.0_51-b00
OS: Linux

User Comments:
GUEST: Updating composer dependencies in a PHP project and going through the options



Maximum slowness yet reported was 3831 ms, average is 3831
Comment 1 Exceptions Reporter 2014-02-04 09:16:32 UTC
Created attachment 144759 [details]
nps snapshot
Comment 2 Jaroslav Tulach 2014-02-05 07:32:30 UTC
I think there is a general consensus we won't do anything with slow classloading (due to overloaded disk). The 
http://statistics.netbeans.org/exceptions/exception.do?id=710400
report is an example of such case:

- more than 3s spend under ProxyClassLoader
- there is just one call to ProxyClassLoader

I know we do various detections to eliminate broken snapshots. Could we also add a "classloading check"? If at least 90% of time is spend in a single call to org.netbeans.*ClassLoader, consider the report broken and don't promote it to the server?
Comment 3 Tomas Hurka 2014-02-05 12:01:02 UTC
Such testing cannot be done in NetBeans itself. We can do it on the statistics.netbeans.org server, where we have proper infrastructure - it can be similar to Slow Windows I/O test.
Comment 4 Jaroslav Tulach 2014-02-14 11:23:23 UTC
*** Bug 237231 has been marked as a duplicate of this bug. ***