History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEABKL-3700
Type: Performance Problem Performance Problem
Status: Open Open
Priority: Normal Normal
Assignee: Dmitry Jemerov
Reporter: Esko Luontola
Votes: 0
Watchers: 1
Available Workflow Actions

Mark as Stalled
Operations

If you were logged in you would be able to see more operations.
IDEA: Backlog

Compiling UI forms blocks the painting of the GUI

Created: 26 Apr 06 02:21   Updated: 10 Jul 06 20:49
Component/s: Compiling Project
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Zip Archive 5245_ORFJackal_26.04.2006_01.01.13.zip (2.56 Mb)

Image Attachments:

1. compiling ui forms.png
(6 kb)
Environment: Java 1.5.0_06, WinXP SP2, Athlon 64 3400+, 1GB RAM

Build: 5,245
Severity: Medium


 Description  « Hide
While the "Compiling UI forms..." is running, the GUI of IDEA does not get repainted - everything just goes gray if you drag a window over IDEA (see the picture). Also the compiling of the UI forms takes lots of time. I've attached a CPU snapshot of compiling six form files and about two dozen classes.

After the UI form compiling is completed, the program is again responsive. Is the compiling done in the AWT event thread or is something else blocking it?



 All   Comments   Work Log   Change History      Sort Order:
Dmitry Jemerov - 10 Jul 06 20:49
Indeed, because of IDEA's threading archivecture, source code generation for UI forms needs to be performed in the AWT thread. I hope that it can be fixed in a future version, but the problem is much broader than this specific issue.