RFR: 8150044: Generate classlists at build-time

Claes Redestad claes.redestad at oracle.com
Wed May 4 20:12:16 UTC 2016



On 2016-05-04 21:45, Mandy Chung wrote:
>> On May 4, 2016, at 6:36 AM, Claes Redestad <claes.redestad at oracle.com> wrote:
>>
>> Hi,
>>
>> please review this change to generate classlists at build-time
>>
>> bug: https://bugs.openjdk.java.net/browse/JDK-8150044
>>
>> webrevs:
>> 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 and finally get rid of the prebaked classlists.

Thanks!

>
> One question: where do you create the interim JMOD files?  Or do you create it under images/jmods?

No interim jmods are created for regular builds, while for 
cross-compilation a buildjdk is created from JMOD files generated into 
buildjdk/images/jmods

Thanks!

/Claes


More information about the hotspot-runtime-dev mailing list