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

Plugin to generate BMH$Species classes ahead-of-time

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b113
    • CPU:
      generic
    • OS:
      generic

      Description

      This experiment shows we can win some startup performance on applications that generate java.lang.invoke.BoundMethodHandle$Species* classes:

      http://cr.openjdk.java.net/~redestad/scratch/bmh_species_gen.txt

      I believe it's an OK start to generate a default list of species types picked from this simple experiment for now, and consider using a profile-driven approach to generate the list of species classes used at build time.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: