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

Avoid lambda usage in StringConcatFactory initializer

    XMLWordPrintable

Details

    • Enhancement
    • Status: Closed
    • P4
    • Resolution: Fixed
    • 9
    • 9
    • core-libs
    • b115
    • generic
    • generic
    • Not verified

    Description

      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).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: