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

Reduce work in java.lang.invoke initializers

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: core-libs
    • Labels:

      Description

      There's still quite a bit of potentially unnecessary work being done in java.lang.invoke class initializers, e.g.:

      - Setting up a substantial number of NamedFunctions eagerly
      - Doing native calls and string manipulation to get simple class names of wrapper and primitive types
      - Excessive String manipulation

      Cleaning this up help to further reduce some memory churn and work during lambda bootstrap.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: