Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

UI freezes/deadlocks while debugging apps with many short-lived threads: Debug tree refresh (TreeModelContentProvider.updateNodes) collides with hover

オープン
#4,403 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
java

調査の方向性

Start by tracing TreeModelContentProvider.updateNodes and the TreeViewer.replace/setChildCount calls named in the report, then compare them with the Text Viewer Hover Presenter Display.syncExec() path. Reproduce with thread start/death events during an active debug session and inspect the attached monitoring samples and .metadata/.log. Done means the repeated UI freezes or deadlock pair no longer occurs during refresh and hover.

索引モデルが issue の本文から書いたものです。

説明

Environment: Eclipse 2026-09 (4.41.0.20260903-0719), Windows Server 2025,
JDK 27; debuggee is Spring Boot 4.1 with virtual threads (enabled by
default), sustained thread churn (scheduled tasks suffice — no external
traffic required).

Symptom: repeated UI freezes (2-30s+, cyclic, CPU only 1-3% during freeze).
Captured deadlock pair in .metadata/.log (2026-09-17/18):

main: TreeModelContentProvider.updateNodes (recursive x3)
-> TreeViewer.replace/setChildCount -> OS.SendMessage (SWT tree surgery)
'Text Viewer Hover Presenter': Display.syncExec() cancelled waiting for the
UI lock

Still reproducible on 4.41 as of 2026-09-24 (monitoring sample attached).

Triggered by thread start/death events while a debug session is active,
even when the user is not interacting.

Workarounds (verified): uncheck Show Running Threads / Thread Groups /
Virtual Threads / Monitors in the Debug view menu, or close the Debug view,
or run without the debugger.

Related:

  • eclipse-jdt/eclipse.jdt.debug#602 (virtual threads 1000x slower under
    the debugger)
  • eclipse-jdt/eclipse.jdt.debug#296 (virtual thread presentation in Debug
    view — same component)
  • eclipse-jdt/eclipse.jdt.debug#351 (same component, same stack shape:
    TreeModelContentProvider.handleAdd; closed as not planned)

Note: this issue is against the Debug view implementation
(org.eclipse.debug.ui, TreeModelContentProvider); the jdt.debug tickets
above are referenced as the same-family history in the debugger area.

Attached: raw monitoring samples (deadlock pair 2026-09-17, recurrence
2026-09-24).

主要言語
Java
スター
124
フォーク
269
平均マージ
2日 2時間
マージ済み PR(30日)
70

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

eclipse-platform/eclipse.platform.ui のほかの issue

eclipse-platform/eclipse.platform.ui の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。