[lworld] RFR: 8366705: [lworld] Re-work of arrays meta-data [v4]
Chen Liang
liach at openjdk.org
Wed Sep 3 20:39:00 UTC 2025
On Wed, 3 Sep 2025 16:21:22 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> Frederic Parain has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 67 commits:
>>
>> - Merge branch 'array_klasses' of github.com:fparain/valhalla into array_klasses
>> - Forgot a TODO
>> - Small cleanup
>> - Merge remote-tracking branch 'upstream/lworld' into array_klasses
>> - Moved get_Klass() back to protected and updated usages
>> - Merge branch 'array_klasses' of github.com:fparain/valhalla into array_klasses
>> - Linked TODOs to JDK-8366668
>> - Multidim array fix
>> - Cleanup T_FLAT_ELEMENT related code
>> - Fix for isAssignableFrom + tests
>> - ... and 57 more: https://git.openjdk.org/valhalla/compare/22e9d5f5...527a17b6
>
> src/hotspot/share/cds/dynamicArchive.cpp line 371:
>
>> 369: if (oak->is_refined_objArray_klass()) {
>> 370: oak = ObjArrayKlass::cast(oak->super());
>> 371: }
>
> Why is this needed?
I think this is probably to convert specialize array klasses to the ObjArrayKlass that map 1-1 to Java's classes.
-------------
PR Review Comment: https://git.openjdk.org/valhalla/pull/1452#discussion_r2320128462
More information about the valhalla-dev
mailing list