On Fri, 6 Feb 2026 19:51:51 GMT, Coleen Phillimore <[email protected]> wrote:

>> src/hotspot/share/memory/oopFactory.cpp line 123:
>> 
>>> 121: refArrayOop oopFactory::new_refArray(Klass* klass, int length, 
>>> ArrayKlass::ArrayProperties properties, TRAPS) {
>>> 122:   ArrayKlass* array_type = klass->array_klass(CHECK_NULL);
>>> 123:   ObjArrayKlass* oak = 
>>> ObjArrayKlass::cast(array_type)->klass_with_properties(properties, true, 
>>> CHECK_NULL);
>> 
>> I'm having trouble understanding this "force_refarray" parameter.
>
> Stefan's suggestion is nice, and a lot clearer to me.

Factory methods have been updated without the "force_refarray" parameter.

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

PR Review Comment: 
https://git.openjdk.org/valhalla/pull/2033#discussion_r2784207171

Reply via email to