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

Avoid lambda usage in StringConcatFactory initializer

XMLWordPrintable

    • b115
    • generic
    • generic
    • Not verified

      Desugaring the lambda used in the initializer reduces the number of loaded classes and initialization time of the first string concatenation in a trivial test.

      The improvement diminishes slightly when running in MH_INLINE_SIZED_EXACT mode (32 -> 24 fewer classes).

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

              Created:
              Updated:
              Resolved: