eclipse-jdt / eclipse-jdt/eclipse.jdt.ui

Slow opening of quick type hierarchy view for lots of classes

Open
#2,549 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
59
Forks
127
Avg merge
23h 30m
Merged PRs (30d)
35

Description

In our project (about ~2000 plugins and features) we have very large and deep inheritance hierarchies. When opening the quick type hierarchy view (`ctrl+t`) on some methods, it takes a very long time to open the view and Eclipse ui freezes while the view is being opened.

See this sample of opening a method in our project, about 120s to render the view on `4.38.0.v20251020-1800` on a windows machine:

Image

This issue boils down to the fact that the view expands an extremely large inheritance tree (about 17000 classes) when opening.
The fix from #1954 for related issue #1830 does not apply to this situation because there are no duplicate subtrees involved.

Contributor guide

Open the contributing guide

Research direction

Reproduce the delay by opening the quick type hierarchy with Ctrl+T on a method in a project with a large inheritance tree. Compare the behavior with the related context from #1954 and #1830, then verify that the hierarchy opens without a prolonged Eclipse UI freeze when expanding roughly 17,000 classes.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
developer-experience
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.