Integrated: 8367989: Remove InstanceKlass::allocate_objArray and ArrayKlass::allocate_arrayArray

Coleen Phillimore coleenp at openjdk.org
Wed Sep 24 12:54:18 UTC 2025


On Thu, 18 Sep 2025 18:27:14 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> This change removes InstanceKlass::allocate_objArray and has its caller call ObjArrayKlass::allocate_instance directly from oopFactory, like the other array allocations do.  See CR for more information why we should have this change.  I also removed element_klass_addr() and moved element_klass_offset() to be in a more logical place near element_klass() functions.  This upstreams a tiny valhalla diff.
> Tested with tier1-4.

This pull request has now been integrated.

Changeset: e8adc1f8
Author:    Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/e8adc1f81656126deae5bf7e0c912d5ad50dbbeb
Stats:     33 lines in 6 files changed: 2 ins; 28 del; 3 mod

8367989: Remove InstanceKlass::allocate_objArray and ArrayKlass::allocate_arrayArray

Reviewed-by: stefank, fparain

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

PR: https://git.openjdk.org/jdk/pull/27372


More information about the hotspot-dev mailing list