Avoid initializing ShortCache in ProxyGenerator

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P5
    • 11
    • Affects Version/s: None
    • Component/s: core-libs

      jlr.ProxyGenerator uses a Map<Object, Short> to remember indexes to constant pool entries. Using a Map<Object, Integer> instead maintains semantics while avoiding initializing jl.Short$ShortCache (6+Kb, measurable startup hit).

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

              Created:
              Updated:
              Resolved: