RFR: 8175026: Capture build-time parameters to --generate-jli-classes
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Thu Feb 16 08:01:06 UTC 2017
On 2017-02-15 18:12, Claes Redestad wrote:
> Hi,
>
> currently the file we generate at build time as input to
> --generate-jli-classes is lost when linking custom images, which means
> user generate images may perform worse in certain ways, mostly
> generating more classes during startup.
>
> Additionally, there's a strong assumption in --generate-jli-classes that
> the VM running jlink is going to generate compatible classes with the
> image being linked, which we can only really guarantee if the java.base
> in the linked image is of the same version as the java.base in the VM
> running jlink. This patch tightens these checks to ensure we have
> freedom to evolve and re-evaluate the implementation in future
> releases.
>
> JDK: http://cr.openjdk.java.net/~redestad/8175026/jdk.01/
> Top: http://cr.openjdk.java.net/~redestad/8175026/top.01/
> Bug: https://bugs.openjdk.java.net/browse/JDK-8175026
>
> Thanks!
Build changes look good.
/Magnus
More information about the jigsaw-dev
mailing list