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

Capture build-time parameters to --generate-jli-classes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b158
    • Verification:
      Not verified

      Backports

        Description

        Today when linking a custom image the optimization provided by --generate-jli-classes for the JDK and JRE images are lost, which means custom images may have to generate more code during startup unless taking steps to generate a custom input file to the plugin.

        A better default would be to reuse the input generated to jlink during build, which ensures custom images doesn't regress compared to the official images on various startup and footprint benchmarks.

          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: