Integrated: 8312262: Klass::array_klass() should return ArrayKlass pointer
Coleen Phillimore
coleenp at openjdk.org
Fri Jul 28 16:35:01 UTC 2023
On Thu, 27 Jul 2023 19:22:52 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.
This pull request has now been integrated.
Changeset: e8970417
Author: Coleen Phillimore <coleenp at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/e897041770f9e321cd8526c6a29c5e19bbecaa55
Stats: 68 lines in 14 files changed: 1 ins; 5 del; 62 mod
8312262: Klass::array_klass() should return ArrayKlass pointer
Reviewed-by: dlong, ccheung
-------------
PR: https://git.openjdk.org/jdk/pull/15059
More information about the hotspot-dev
mailing list