forked from eclipse-jdt/eclipse.jdt.core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[performance] share JRT entries across projects eclipse-jdt#2884
JarPackageFragmentRootInfo.rawPackageInfo hold a list of all files in the JRT but each projects gets its own JarPackageFragmentRootInfo. Calculate that files independent of the instance and reuse if for all projects. To safely share the result across threads an unmodifiable datastructure is used. * use record instead of String[2] for classes vs resources * reduce rawtypes, unchecked conversions * avoid char[] to String conversions tested by JavaProjectTests, AttachedJavadocTests eclipse-jdt#2884
- Loading branch information
1 parent
0f92fb3
commit 0b01214
Showing
10 changed files
with
301 additions
and
131 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.