[lworld] RFR: 8375306: [lworld] Investigate alternatives to flatArrayOopDesc::obj_at implementation [v2]

Stefan Karlsson stefank at openjdk.org
Mon Feb 9 22:03:37 UTC 2026


On Mon, 9 Feb 2026 09:40:57 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

>> Frederic Parain has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 12 additional commits since the last revision:
>> 
>>  - Comments update
>>  - Rename new_default_refArray to new_refArray with overload
>>  - Fixes issues mentioned in reviews
>>  - Remove force_refarray and add array klass creation from ArrayDescription
>>  - Fix merge
>>  - Merge remote-tracking branch 'upstream/lworld' into refarray_factory
>>  - Revert foreign methods signature changes
>>  - Foreign API and other fixes
>>  - CI fixes
>>  - More fixes in serviceability code
>>  - ... and 2 more: https://git.openjdk.org/valhalla/compare/dbed07f5...bd5f33d0
>
> src/hotspot/share/memory/universe.hpp line 132:
> 
>> 130: 
>> 131:   // the array of preallocated errors with backtraces
>> 132:   static refArrayOop  preallocated_out_of_memory_errors();
> 
> While your at it ...
> Suggestion:
> 
>   static refArrayOop preallocated_out_of_memory_errors();

And `gen_out_of_memory_error` is now unaligned. Would be nice to clean that up.

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

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


More information about the valhalla-dev mailing list