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 245877 - 34s in EjbJarMultiViewDataObject trying obtain reference to project
Summary: 34s in EjbJarMultiViewDataObject trying obtain reference to project
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2014-07-22 14:04 UTC by PrplHaz4
Modified: 2014-08-09 05:03 UTC (History)
9 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 210837


Attachments
nps snapshot (10.19 KB, application/nps)
2014-07-22 14:04 UTC, PrplHaz4
Details

Note You need to log in before you can comment on or make changes to this bug.
Description PrplHaz4 2014-07-22 14:04:48 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 (Build 201403101706)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.60-b07, Java(TM) SE Runtime Environment, 1.7.0_60-ea-b04
OS: Windows 8

User Comments:
PrplHaz4: editing a php file - switched back to netbeans IDE window from browser



Maximum slowness yet reported was 31051 ms, average is 31051
Comment 1 PrplHaz4 2014-07-22 14:04:49 UTC
Created attachment 148205 [details]
nps snapshot
Comment 2 PrplHaz4 2014-07-22 14:07:44 UTC
Just realized I was in the middle of a CTRL-Z undoing a few steps - maybe ~10 lines of code.
Comment 3 Jaroslav Tulach 2014-07-30 11:59:26 UTC
Analyzing issues from 8.0:

The 20+14s in http://statistics.netbeans.org/exceptions/exception.do?id=732140 report is caused by org.netbeans.modules.j2ee.ddloaders.multiview.EjbJarMultiViewDataObject doing some wild things in constructor.

The 20+2s in http://statistics.netbeans.org/exceptions/exception.do?id=732091 are somehow caused by option dialog, but it has been fixed meanwhile. Now the creation runs off the queue.

http://statistics.netbeans.org/exceptions/exception.do?id=731626 and
http://statistics.netbeans.org/exceptions/exception.do?id=731788 and
http://statistics.netbeans.org/exceptions/exception.do?id=731851 are slow classloading and that is something we don't address per decision of performance team. 

So realistically, the only thing that can be fixed is the slow EjbJarMultiViewDataObject constructor - don't mess with projects in it, please.
Comment 4 Martin Fousek 2014-08-08 07:19:48 UTC
There are many new reports, I'm going to fix EJB issue to remove this "umbrella" bug, but for now the latest reports:

slow classloading/filesystem:
732521, 732570, 732573, 732635, 732849, 732855, 732969, 732999, 733137, 732898

passing to JPA for further investigation:
732950
Comment 5 Martin Fousek 2014-08-08 09:35:20 UTC
Should be fixed in web-main #8cdacc847946.
Comment 6 Quality Engineering 2014-08-09 05:03:02 UTC
Integrated into 'main-silver', will be available in build *201408090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/8cdacc847946
User: Martin Fousek <marfous@netbeans.org>
Log: #245877 - 34s in EjbJarMultiViewDataObject trying obtain reference to project