Passing ziptime-info=false to ZipFileSystemProvider (along with other classpath performance ideas)

Alan Bateman alan.bateman at oracle.com
Mon Mar 17 08:07:51 UTC 2025


On 16/03/2025 09:40, Jaikiran Pai <jai.forums2013 at gmail.com> wrote:

> I am not familiar with the compiler implementation code, but speaking 
> in context of the ZipFileSystem, it appears that this (undocumented) 
> "ziptime-info" property of the ZIP file system was indeed introduced 
> to help improve the performance of the ZipFileSystem.

It came about in the context of early work to move javac to use zipfs 
[1]. I thought there had been follow on work in javac around this but it 
seems not. In file system terms, it's okay to have the equivalent of 
mount options to configure where time stamps come from or whether they 
are updated when accessed/modified. So we could surface it as documented 
property although maybe its name should be examined.

-Alan

[1] https://mail.openjdk.org/pipermail/core-libs-dev/2016-May/040742.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/compiler-dev/attachments/20250317/3c6b6220/attachment.htm>


More information about the compiler-dev mailing list