8000 Fix fewest modules OOM by steinybot · Pull Request #4986 · scala-js/scala-js · GitHub
[go: up one dir, main page]

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
Show file tree
Hide file tree
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
Fix #4985: Combine taggers again
  • Loading branch information
steinybot committed May 21, 2024
commit 1644a974e15d7d44ff3c2862a901d6aaf4086a9d
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ private[modulesplitter] final class FewestModulesAnalyzer extends ModuleAnalyzer
new SingleModuleAnalysis(info.publicModuleDependencies.head._1)
} else {
val modulesToAvoid = info.publicModuleDependencies.keys
val moduleMap = new FewestModulesTagger(info).tagAll(modulesToAvoid)
val moduleMap = new Tagger(info).tagAll(modulesToAvoid)

new FullAnalysis(moduleMap)
}
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ private final class SmallModulesForAnalyzer(

val modulesToAvoid = info.publicModuleDependencies.keys ++ reprToModuleID.values
val largeModuleMap =
new SmallestModulesForTagger(info, excludedClasses = targetClassToRepr.keySet).tagAll(modulesToAvoid)
new Tagger(info, excludedClasses = targetClassToRepr.keySet).tagAll(modulesToAvoid)

new SmallModulesForAnalyzer.Analysis(targetClassToRepr, reprToModuleID, largeModuleMap)
}
Expand Down
Loading
0