sun.invoke.util.Wrapper eagerly initializes all integral type caches

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: None
    • Component/s: core-libs
    • b93
    • generic
    • generic

      During jake startup, all primitive integral type caches (Byte$ByteCache, Short$ShortCache, Long$LongCache) are initialized by virtue of Wrapper needing a handle to the zero constant of each object type.

      Making a ZERO constant available internally without initializing the entire cache improves startup and footprint of jigsaw.

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

              Created:
              Updated:
              Resolved: