RFR: 8352642: Set zipinfo-time=false when constructing zipfs FileSystem in com.sun.tools.javac.file.JavacFileManager$ArchiveContainer for better performance [v2]
Jaikiran Pai
jpai at openjdk.org
Tue Apr 8 09:25:13 UTC 2025
On Tue, 1 Apr 2025 00:59:57 GMT, Jason Zaugg <jzaugg at openjdk.org> wrote:
>> 8352642: Set zipinfo-time=false when constructing zipfs FileSystem in com.sun.tools.javac.file.JavacFileManager$ArchiveContainer for better performance
>
> Jason Zaugg has updated the pull request incrementally with one additional commit since the last revision:
>
> 8352642: Also pass zipinfo-time to the alternative newFileSystem call
src/jdk.compiler/share/classes/com/sun/tools/javac/file/JavacFileManager.java line 581:
> 579: // Less common case is possible if the file manager was not initialized in JavacTask,
> 580: // or if non "*.jar" files are on the classpath. At the time of writing, both `javac -cp a.zip`
> 581: // and `javac -cp x.JAR` file would hit this branch which may warrant investigation.
Hello Jason, do we need that second sentence to be added as a code comment? I feel it creates confusion on what's expected to be done. Perhaps just add that first sentence and remove the second?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24176#discussion_r2032773634
More information about the compiler-dev
mailing list