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 183622 - 32s in org.netbeans.modules.java.ClassDataObject$OpenSourceCookie.open()
Summary: 32s in org.netbeans.modules.java.ClassDataObject$OpenSourceCookie.open()
Status: RESOLVED WORKSFORME
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2010-04-07 06:34 UTC by Exceptions Reporter
Modified: 2011-05-25 11:07 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 159980


Attachments
nps snapshot (256.00 KB, application/nps)
2010-04-07 06:34 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2010-04-07 06:34:11 UTC
Build: NetBeans IDE 6.8 (Build 200912041610)
VM: Java HotSpot(TM) Client VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07
OS: Windows XP
Maximum slowness yet reported was 32625 ms, average is 15762
Comment 1 Exceptions Reporter 2010-04-07 06:34:16 UTC
Created attachment 96842 [details]
nps snapshot
Comment 2 Jaroslav Tulach 2010-04-16 14:59:14 UTC
Call to ClassDataObject.open results in >80 JAR queries which can't be really fast: org.openide.filesystems.URLMapper.findFileObject(). I am not sure why this is necessary at all, but probably you want to move this processing to background, possibly open editor first, show "Loading..." and then do all of this.
Comment 3 Jan Lahoda 2010-04-21 13:35:30 UTC
There are four snapshots, only one of them referring to java infrastructure (and not the first one) to my knowledge. Two snapshots are referring to update center, from what I can see. How can these be fixed in java.source? Please do no reassign slowness reports to Java just because there is a snapshot that relates to Java - separate the Java snapshot into standalone issue and deal with the rest.

I split the Java report from the others:
http://statistics.netbeans.org/analytics/detail.do?id=168324
(transfer to BZ in progress) and passing back to performance for reevaluation.
Comment 4 Marian Mirilovic 2011-05-25 11:07:11 UTC
3 reports, long time ago .... closing for now. if anybody reproduces the problem - please reopen. Thanks in advance.