On Mon, 9 Mar 2026 12:33:38 GMT, Stefan Karlsson <[email protected]> wrote:

> I've been looking over the current state of ArrayKlass and the sub-classes 
> and made various cleanups and simplifications that I'd like to get integrated:
> 
> * Type Universe::_objectArrayKlass as RefArrayKlass
> * Remove dead flat array code in code in javaClasses.cpp
> * Used is_refined_objArray_klass where appropriate
> * Introduce is_unrefined_objArray for asserts and checks
> * Restore code and whitespace changes compared to upstream
> * Renamed faklass to fak in oops/ and GC code (I didn't touch other areas 
> that used that name)
> * Devirtualized ObjArrayKlass::allocate_instance and simplified related code
> * Moved ArrayKlass::_properties to after the variables for array dimensions.
> * Made ArrayKlass::_properties const and non-settable
> * Unified oop_iterate_elements_range implementations
> * Added ShouldNotReachHere implementation of ObjArrayKlass::copy_array
> * Removed redundant check in jniCheck.cpp and restored the file

This pull request has now been integrated.

Changeset: dde95fd7
Author:    Stefan Karlsson <[email protected]>
URL:       
https://git.openjdk.org/valhalla/commit/dde95fd7f54397601307bd1f2cf4e0343f13b718
Stats:     192 lines in 31 files changed: 21 ins; 63 del; 108 mod

8379514: [lworld] Cleanups of array klasses

Reviewed-by: iwalulya, aboldtch

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

PR: https://git.openjdk.org/valhalla/pull/2207

Reply via email to