RFR: 8312262: Klass::array_klass() should return ArrayKlass pointer [v3]
Calvin Cheung
ccheung at openjdk.org
Fri Jul 28 15:54:43 UTC 2023
On Fri, 28 Jul 2023 12:08:20 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> This is a simple change to make array_klass() return ArrayKlass (the first dimension of TypeArrayKlass is a TypeArrayKlass so can't use ObjArrayKlass), higher_dimension is always an ObjArrayKlass and lower_dimension can be a TypeArrayKlass. The change removes some casts.
>> Tested with tier1 linux/macosx/windows on x86 and aarch64.
>
> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
>
> Add back set_higher_dimension
Thanks for adding back the set_higher_dimension function.
-------------
Marked as reviewed by ccheung (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/15059#pullrequestreview-1552407141
More information about the hotspot-dev
mailing list