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

Avoid initializing ExpiringCache during bootstrap

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 12
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      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

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

                Dates

                Created:
                Updated:
                Resolved: