RFR: 8316427: Duplicated code for {obj, type}ArrayKlass::array_klass
David Holmes
dholmes at openjdk.org
Tue Sep 19 04:44:38 UTC 2023
On Mon, 18 Sep 2023 16:40:08 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> Please review this trivial change to move duplicated array_klass(). Tested with tier1 on Oracle supported platforms.
I have to wonder if it is in fact a bug that `TypeArrayKlass::array_klass` invokes `ObjArrayKlass::allocate_objArray_klass` when that creates the wrong type of array???
-------------
PR Review: https://git.openjdk.org/jdk/pull/15791#pullrequestreview-1632410283
More information about the hotspot-dev
mailing list