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 163900 - UI freeze-up when scanning sources
Summary: UI freeze-up when scanning sources
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: Macintosh All
: P2 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2009-04-28 12:58 UTC by Petr Jiricka
Modified: 2009-04-29 07:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump (19.93 KB, text/plain)
2009-04-28 13:00 UTC, Petr Jiricka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2009-04-28 12:58:47 UTC
See attachment.
Comment 1 Petr Jiricka 2009-04-28 13:00:59 UTC
Created attachment 81069 [details]
Thread dump
Comment 2 Petr Jiricka 2009-04-28 13:02:48 UTC
Sorry, now I see it wasn't a deadlock. The IDE continues to run, just the UI was frozen for a long time.
Comment 3 Milan Kuchtiak 2009-04-28 13:30:50 UTC
I'll change MetadataModel.runReadAction() to MetadataModel.runReadActionWhenReady() in projectClosed().
This change should fix the problem with blocking AWT thread.

We had a similar issue in Maven projects: Two many threads were waiting in the Default request processor.
I've created single-purpose request processor there for the task checking the web services annotations.
I'll do the same for Ant projects. Hopefully this will also help.

See the issue 162052.
Comment 4 Milan Kuchtiak 2009-04-28 14:23:25 UTC
Fixed.

Details:
http://hg.netbeans.org/main/rev/43c2a5a5d075
Comment 5 Quality Engineering 2009-04-29 07:13:04 UTC
Integrated into 'main-golden', will be available in build *200904290201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/43c2a5a5d075
User: mkuchtiak@netbeans.org
Log: #163900: fixed AWT thread blockage