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

Disable generate-jli-classes when building interim-image

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • 11
    • infrastructure
    • None
    • b05

      During build, we use an interim image to generate some optimization information, e.g., the input for generate-jli-classes jlink plugin for the real build. Turns out jlinking the interim-image picks up the output from such training runs, which adds to the build time when we run incremental builds, and worse: it might mean we use stale information that could potentially make building the interim-image fail (an issue I ran into as I was experimenting with allowing the plugin to generate more kinds of LFs).

      I suggest disabling the generate-jli-classes plugin when building the interim-image, avoiding such cycles

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

              Created:
              Updated:
              Resolved: