[Bug 193287] org.netbeans.modules.editor.impl.ActionsList.() calls DataObject.find() and takes too long

  • From:
  • To:
  • Subject: [Bug 193287] org.netbeans.modules.editor.impl.ActionsList.<init>() calls DataObject.find() and takes too long
  • Date: Tue, 12 Feb 2013 08:29:56 +0000
  • Auto-submitted: auto-generated

http://netbeans.org/bugzilla/show_bug.cgi?id=193287

Peter Nabbefeld 
< >
 changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            
|

--- Comment #5 from Peter Nabbefeld 
< >
 2013-02-12 08:29:56 UTC ---
I've got a slowness report today (#657471), and after looking at it, I noticed
one time-consuming issue is handling of FileObjects in
org.netbeans.modules.maven.execute.DefaultReplaceTokenProvider.extractFileObjectsfromLookup():
As it seems to scan whole SFS, it's very time-consuming, and it seems to be
used several times, i.e. for every files or usage search, so IMHO the 
resulting
FileObject array should probably be cached. I don't expect problems with 
memory
usually, as scanning seems to happen often, so memory will be occupied
nevertheless, with probable side effects like memory leaks or making GC busy
(resulting in even more time consumption).

-- 
Configure bugmail: http://netbeans.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


[Bug 193287] org.netbeans.modules.editor.impl.ActionsList.<init>() calls DataObject.find() and takes too long

epdv 02/12/2013

Project Features

About this Project

Editor was started in November 2009, is owned by Martin Ryzl, and has 147 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close