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 177861 - [69cat][68cat] InstanceSupport.instanceCreate sometimes very slow
Summary: [69cat][68cat] InstanceSupport.instanceCreate sometimes very slow
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2009-11-30 09:13 UTC by aldobrucale
Modified: 2010-11-02 10:35 UTC (History)
10 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 161403


Attachments
nps snapshot (256.00 KB, application/nps)
2009-11-30 09:14 UTC, aldobrucale
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aldobrucale 2009-11-30 09:13:55 UTC
Build: NetBeans IDE Dev (Build 200911291400)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux, 2.6.31-15-generic, i386

User Comments:
GUEST: ????NetBeans6.x??JavaEE6?????,????Netbeans??"??????"????"EJB??","Web??",??"?????",?????????JAVA????????????????,????????"?????"??????????????gf-client.jar??jar???????????????????????????? 


??: enterprise.deployment.appclient.jws.stopped 
??: Portable JNDI names for EJB Test : [java:global/EjbTest/EjbTest-ejb/Test!google.com.TestLocal, java:global/EjbTest/EjbTest-ejb/Test!google.com.TestRemote] 
??: Glassfish-specific (Non-portable) JNDI names for EJB Test : [google.com.TestRemote, google.com.TestRemote#google.com.TestRemote] 
??: Loading application EjbTest#EjbTest-war.war at EjbTest-war 
??: enterprise.deployment.appclient.jws.errStartSystemAdapter 
java.io.FileNotFoundException: C:\Program%20Files\glassfish-v3-b70\glassfish\modules\gf-client.jar (???????????) 
        at java.util.zip.ZipFile.open(Native Method) 
        at java.util.zip.ZipFile. <init>(ZipFile.java:114) 
        at java.util.jar.JarFile. <init>(JarFile.java:133) 
        at java.util.jar.JarFile. <init>(JarFile.ja

aldobrucale: Starting nb

mgoe: Editing build.xml file


Maximum slowness yet reported was 8839 ms, average is 4690
Comment 1 aldobrucale 2009-11-30 09:14:00 UTC
Created attachment 91873 [details]
nps snapshot
Comment 2 David Strupl 2010-09-23 11:53:44 UTC
I am at the end with wits. The problem is that we routinely call Lookup from AWT EDT. It may end up in InstanceSupport.instanceCreate which might be slow. HELP! Passing to the platform team for evaluation.
Comment 3 Jaroslav Tulach 2010-09-27 20:54:00 UTC
I don't understand why the 
org.netbeans.api.editor.EditorRegistry.focusGained()
needs to tell everyone about that in AWT thread. Can't you reschedule the update to other threads?
Comment 4 Miloslav Metelka 2010-10-27 13:03:51 UTC
The EditorRegistry is notified about focus change in EDT and so it notifies its clients in EDT as well. This won't change. Any additional rescheduling is up to clients.
Comment 5 victor.nettoyeur 2010-11-02 10:35:30 UTC
Trying to help Mila in cleaning the bugzilla DB. If this is not to be handled in Platform and also not in the editor let's mark this report as wontfix.