RFR: 8209837: Avoid initializing ExpiringCache during bootstrap (original) (raw)

Alan Bateman Alan.Bateman at oracle.com
Mon Aug 27 13:45:05 UTC 2018


On 23/08/2018 15:09, Claes Redestad wrote:

Hi,

it's a tiny startup improvement to rearrange code so that the ExpiringCaches used in the FileSystem implementations aren't created if they aren't going to be used: Webrev: http://cr.openjdk.java.net/~redestad/8209837/open.00/ Bug: https://bugs.openjdk.java.net/browse/JDK-8209837 3 fewer classes loaded on bootstrap. This looks good. A minor nit is the inconsistently long line L244, it would be better to keep it consistent with the existing code.

-Alan



More information about the core-libs-dev mailing list