[11u] RFR(s): 8236921: Add build target to produce a JDK image suitable for a Graal/SVM build
Andrew Hughes
gnu.andrew at redhat.com
Fri Mar 13 03:45:40 UTC 2020
On 12/03/2020 15:43, Severin Gehwolf wrote:
> Hi,
>
> Could I please get a review of this OpenJDK 11u port of JDK-8236921?
> This patch is really only for developer convenience who prefer to build
> their JDK from source and would like to build svm/graal with the
> result. It adds a new make target, 'graal-builder-image' which then
> produces an image in <images>/graal-builder-jdk which can be used to
> build graal/svm.
>
> This patch depends on the static-images libs backport[1]. Note that
> even with that the JDK 15 patch does not apply cleanly because of some
> context changes:
>
> * jcov-image target is not in JDK 11
> * Copyright dates differ in make/Main.gmk and
> make/autoconf/spec.gmk.in.
>
> Fixed both manually.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8236921
> webrev: http://cr.openjdk.java.net/~sgehwolf/webrevs/JDK-8236921/jdk11u/01/webrev/
>
> Testing: built graal-builder-image target and with the result graal
> master. Works fine.
>
> Thanks,
> Severin
>
> [1] http://mail.openjdk.java.net/pipermail/jdk-updates-dev/2020-March/002740.html
> Hopefully to be integrated soon.
>
This webrev is a mess, I guess because it's not been applied against
trunk, but with 8232748 in your local tree as well. I don't see why you
didn't wait until 8232748 was pushed before creating this.
The patch itself looks fine, once reordered to match the 14u version
(not sure why the new file occurs first in the 14u version, but not in
yours). These are the same contextual issues that occurred with 8232748.
--
Andrew :)
Senior Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04 C5A0 CFDA 0F9B 3596 4222
More information about the jdk-updates-dev
mailing list