Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8209837

Avoid initializing ExpiringCache during bootstrap

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 12
    • core-libs
    • b09

    Description

      With useCanonCache off by default, we can profit slightly from avoiding creating ExpiringCaches in the FileSystem classes by default. This avoids loading and initializing 3 classes on startup.

      It also seems the boolean flags read during startup can be made final, allowing JIT to optimize certain operations better.

      Attachments

        Issue Links

          Activity

            People

              redestad Claes Redestad
              redestad Claes Redestad
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: