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 253468 - org.netbeans.api.project.ProjectManager.findProject: LowPerformance took 20908 ms.
Summary: org.netbeans.api.project.ProjectManager.findProject: LowPerformance took 2090...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2015-07-14 16:32 UTC by Exceptions Reporter
Modified: 2015-07-16 01:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 218525


Attachments
nps snapshot (37.28 KB, application/nps)
2015-07-14 16:32 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-07-14 16:32:43 UTC
This issue was reported manually by tstupka.
It already has 3 duplicates 


Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.11-b03, Java(TM) SE Runtime Environment, 1.8.0_11-b12
OS: Windows 7

User Comments:
GUEST: problem creating project

GUEST: could not create a project

GUEST: problem in creating project
no other error
just got stucked



Maximum slowness yet reported was 20908 ms, average is 20908
Comment 1 Exceptions Reporter 2015-07-14 16:32:44 UTC
Created attachment 154624 [details]
nps snapshot
Comment 2 Tomas Stupka 2015-07-14 16:40:32 UTC
see JUnitTestCreatorProvider.enable 

FileOwnerQuery.getOwner(fileObj) blocked because of a concurrently running open projects
if nothing else, then at least for a slight optimization the test if the fileObj is a folder or a java file could be done before calling FOQ
Comment 3 Tomas Stupka 2015-07-14 17:12:17 UTC
fixed in jet-main #ff39e4bac246
Comment 4 Quality Engineering 2015-07-16 01:20:44 UTC
Integrated into 'main-silver', will be available in build *201507160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/ff39e4bac246
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #253468 - org.netbeans.api.project.ProjectManager.findProject: LowPerformance took 20908 ms.