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 - 3.8s in classloading - ignore snapshot if time spend in ProxyClassLoader.loadXXX
Summary: 3.8s in classloading - ignore snapshot if time spend in ProxyClassLoader.loadXXX
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Exceptions Reporter (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords: PERFORMANCE
: 237231 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-02-04 09:16 UTC by Exceptions Reporter
Modified: 2017-11-19 00:40 UTC (History)
43 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 207258


Attachments
nps snapshot (13.62 KB, application/nps)
2014-02-04 09:16 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***