RFR: 8276766: Enable jar and jmod to produce deterministic timestamped content [v4]

Andrew Leonard aleonard at openjdk.java.net
Mon Nov 29 16:22:34 UTC 2021


On Fri, 26 Nov 2021 16:25:43 GMT, Lance Andersen <lancea at openjdk.org> wrote:

>> For files with large number of entries, alot of LocalDateTime Objects are being created here. Would there be an efficiency gain by converting sourceDate variable to be of type LocalDateTime and simply pass it to the s.setTimeLocal call here. The LocalDateTime Object could be constructed at init time (may be null) and can be static etc. 
>> 
>> Same for jmod code ?
>
>> 
> 
> I think that is a reasonable suggestion

The ZonedDateTime is now resolved during parsing of the options.

-------------

PR: https://git.openjdk.java.net/jdk/pull/6481


More information about the compiler-dev mailing list