RFR: 8199469: Disable generate-jli-classes when building interim-image (original) (raw)
mandy chung mandy.chung at oracle.com
Mon Mar 12 18:29:08 UTC 2018
- Previous message (by thread): RFR: 8199469: Disable generate-jli-classes when building interim-image
- Next message (by thread): RFR: Support Visual Studio BuildTools with VS2017
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
+1
Mandy
On 3/12/18 11:26 AM, Claes Redestad wrote:
Hi,
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 or do some really non-obvious things (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: http://cr.openjdk.java.net/~redestad/8199469/open.00/ A trivial one-liner fix, but as this is .gmk then I'm sure some would want to check I've used the proper mix of tabs and spaces... ;-) Thanks! /Claes
- Previous message (by thread): RFR: 8199469: Disable generate-jli-classes when building interim-image
- Next message (by thread): RFR: Support Visual Studio BuildTools with VS2017
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]