RFR: 8150044: Generate classlists at build-time
Alan.Bateman at oracle.com
Wed May 4 14:39:38 UTC 2016
On 04/05/2016 14:36, Claes Redestad wrote:
> please review this change to generate classlists at build-time
> bug: https://bugs.openjdk.java.net/browse/JDK-8150044
> top: http://cr.openjdk.java.net/~redestad/8150044/top.01/
> jdk: http://cr.openjdk.java.net/~redestad/8150044/jdk.01/
> hotspot: http://cr.openjdk.java.net/~redestad/8150044/hotspot.01/
> The implementation generates an interim image consisting of a minimal
> set of modules, then use this to run a small generator program to
> load common utilities and facilities and dump the result of this to a
> classlist that is then bundled with the final images.
This looks good work and I like it that it runs on an small image so
that the classes generated at link time can go into the archive.
The HelloClasslist looks a good start. If we get into ordering then I
could imagine removing the static initializer so we get better control.
More information about the build-dev