[lworld] RFR: 8326595: [lworld] Bootstrap VM transition to JEP 401 model [v2]

Frederic Parain fparain at openjdk.org
Mon Feb 26 16:07:16 UTC 2024


On Mon, 26 Feb 2024 15:42:48 GMT, Frederic Parain <fparain at openjdk.org> wrote:

>> Bootstrapping transition to JEP 401 model.
>> A lot of things are broken, but at least the build works on most platforms, the VM can boot and execute some JEP 401 class files in interpreted mode. The ability to run code with value classes is still limited because the VM depends on some JDK core classes that need to be updated too (reflection and substitutability test).
>> 
>> Transition changes include:
>>   - Accepting new class file format (not rejecting correct JEP 401 class files), changes class hierarchy rules, class flags meaning, changes verifier rules
>>   - Update new and putfield bytecodes in interpreter to support new construction sequence
>>   - Runtime tests fixes
>> 
>> Cleanup changes include:
>>   - Removal of support of Q-descriptors (and Q-desc bit in constant pool)
>>   - Removal of support of old class flags (ACC_VALUE)
>>   - Removal of aconst_init and withfield bytecodes from the interpreter and C1
>>   - Removal of support for secondary mirror
>>   - Removal of support for primitive classes
>>   - Removal of support for value factories (<vnew>)
>>   - Partial removal of T_PRIMITIVE_OBJECT
>
> Frederic Parain has updated the pull request incrementally with one additional commit since the last revision:
> 
>   More C2 fixes and cleanup

Thanks Tobias for the review and the fix.

-------------

PR Comment: https://git.openjdk.org/valhalla/pull/1017#issuecomment-1964511718



More information about the valhalla-dev mailing list