Skip to content

Fix fewest modules OOM #4986

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update comment
  • Loading branch information
steinybot committed May 23, 2024
commit 92d63b58f995b712f11bbf4ff3555b9931d02f41
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,8 @@ private class Tagger(infos: ModuleAnalyzer.DependencyInfo,
val nextClassNames =
if (moduleIDChanged) {
// Revisit static dependencies again when the module id changes.
// We do not need to revisit dynamic dependencies because by definition they are not used by public
// modules, the first time we tag them is the shortest path so that path end never changes and only the
// ends are used for the module ids.
// We do not need to revisit dynamic dependencies because their module id only changes when there is a
// new usage which is the case above and there we already revisit them.
classNames.tail ++ infos.classDependencies(className).staticDependencies
} else {
// Otherwise do not consider dependencies again as there is no more information to find.
Expand Down