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.
Summary: | core.ui.sampler.SamplesOutputStream.close() can take ages | ||
---|---|---|---|
Product: | profiler | Reporter: | stefan79 <stefan79> |
Component: | Ide | Assignee: | Tomas Hurka <thurka> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | AIML_Engr, akochnev, Alniks, andyr123, aquaglia, averri, bigchirv, bsbc99, Burjuy, cyrill, Danny_Wong, darren13, dgo, diwakar.kuruba, driscoll, dziquinatti, hmichel, janario, jiai, jonavogt, jtulach, kawazu428, kganfield, mhuebner, mklaehn, Montserrat, nikpet, obalyuk, ovk, petermount, pinheirolouco, pjiricka, quang4me, rburkhead, robDana, schkovich, sebglon, simpatico, ssanders, St.Ev, stefan79, stiffuser, tapehead, thurka, TobiasKranz, troodon, xantiva, xjflyttp, zegenie |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 168043 |
Attachments: |
nps snapshot
nps snapshot nps snapshot |
Description
stefan79
2010-04-14 16:10:18 UTC
Created attachment 97369 [details]
nps snapshot
I tried the following: -) Closed NetBeans -) Deleted the Cache-Directory (.netbeans/dev/var/Cache) -) Started NetBeans -) Pressed on the Profiler Button -) After 1 Minute I pressed again at the Profiler-Button It´s a result of http://netbeans.org/bugzilla/show_bug.cgi?id=184186 Created attachment 97673 [details]
nps snapshot
Invoked code completion on a domain object inside of a Grails project
Created attachment 97697 [details]
nps snapshot
Noting to do with Output Window. org.netbeans.modules.editor.completion.CompletionImplProfile initiates write of sampler data in AWT. Defect in editor or sampler. Seems like a problem with sampling. According to http://statistics.netbeans.org/exceptions/exception.do?id=390587 the Sample.close(), can take quite a lot of time. The close happens on AWT thread (mistake?) and is itself detected as slowness. Tomáši, what is your advice in this case? We probably need to move the long action outside of AWT. Where the thread switch shall happen? Fixed in main in a similar way to issue #184680. changeset: 195390:eec655dbcdd9 user: Tomas Hurka <thurka@netbeans.org> date: Tue Jun 07 14:44:21 2011 +0200 summary: bugfix #184187, invoke SelfProfiling action outside of EDT Fixed in 7.0.1 changeset: 200344:c93941265e58 branch: release701 user: Tomas Hurka <thurka@netbeans.org> date: Tue Jun 07 14:44:21 2011 +0200 summary: bugfix #184187, invoke SelfProfiling action outside of EDT Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/eec655dbcdd9 User: Tomas Hurka <thurka@netbeans.org> Log: bugfix #184187, invoke SelfProfiling action outside of EDT Integrated into 'releases' Changeset: http://hg.netbeans.org/releases/rev/c93941265e58 User: Tomas Hurka <thurka@netbeans.org> Log: bugfix #184187, invoke SelfProfiling action outside of EDT (transplanted from eec655dbcdd90ba8d2ae49d2a6c74ec3a8f43f2b) |