Repository navigation
ADFA-6228: Stop building the per-module classpath trie - #2074
Open
itsaky-adfa wants to merge 1 commit into
Open
itsaky-adfa wants to merge 1 commit into
itsaky-adfa wants to merge 1 commit into
Conversation
This was referenced Sep 24, 2026
itsaky-adfa
marked this pull request as ready for review
September 24, 2026 15:59
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.
Tip: disable this comment in your organization's Code Review settings.
itsaky-adfa
added this pull request to stack #2077
September 25, 2026 09:16
Contributor
jatezzz
approved these changes
Sep 25, 2026
itsaky-adfa
force-pushed
the
perf/ADFA-6228-drop-classtrie
branch
from
October 7, 2026 13:50
5f67f3e to
780908a
Compare
itsaky-adfa
force-pushed
the
perf/ADFA-6228-drop-classtrie
branch
from
October 8, 2026 13:39
780908a to
05d2ea8
Compare
itsaky-adfa
force-pushed
the
perf/ADFA-6228-drop-classtrie
branch
from
October 8, 2026 14:15
05d2ea8 to
765c699
Compare
Class lookups now come entirely from the JVM symbol index; reverting this commit alone restores the trie and its fill.
itsaky-adfa
force-pushed
the
perf/ADFA-6228-drop-classtrie
branch
from
October 9, 2026 12:24
765c699 to
5b98760
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ADFA-6228
4 of 4, stacked on #2073. After #2073 nothing reads
ModuleProject.compileClasspathClasses, but every module still fills it on every open. This deletes the field and its fill. It is one commit, so a single revert restores the trie if a reader turns out to be missing.Measured on a moto g34 (512 MB heap), cold open, stage + probes vs this stack:
ClassTrie$NodeStringA cold open of this project still runs out of memory on that device, in both builds, later on during Kotlin source indexing. That is a separate problem and is not addressed here.