How to Investigate UI Freezes
summary
Explains that most freezes come from the AWT single EDT getting blocked by write actions or by background read actions holding the read/write lock, shows how to spot the culprit in thread dumps and included coroutine dumps (jstack or IDE-generated dumps), demonstrates that coroutine-based non-blocking read actions are now the recommended fix because they get cancelled and restarted (so they must be idempotent), recommends frequent ProgressManager.checkCanceled calls, and points to the IDE’s Analyze Thread Dump / Freeze Analyzer tooling that locates the blocker.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 0:38Architecture and freezes
- 6:09Investigating with dumps
- 26:52Conclusion
- 31:15Q&A session part 2
- 34:30Q&A session part 3








