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

Avoid initializing ShortCache in ProxyGenerator

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 11
    • None
    • 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).

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

              Created:
              Updated:
              Resolved: