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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • None
    • core-libs
    • None
    • b113
    • generic
    • generic

      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.

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

              Created:
              Updated:
              Resolved: