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

Improve the java.lang.invoke first initialization costs

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs

      Description

      It is known from Indify String Concat, Lambdas, and probably Jigsaw that initialization costs for java.lang.invoke infra take a significant time on first access to the infrastructure.

      See a simple experiment here:
        http://cr.openjdk.java.net/~shade/8086045/indy-startup.txt

      The goal for this task is to investigate if we can improve this, or should we conclude the first initialization overheads can be justifiably ignored.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                redestad Claes Redestad
                Reporter:
                shade Aleksey Shipilev
              • Votes:
                0 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: