[lworld] RFR: 8367415: Fully encapsulate array allocation in oopFactory [v3]

Coleen Phillimore coleenp at openjdk.org
Wed Sep 24 13:13:27 UTC 2025


On Mon, 22 Sep 2025 20:22:28 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> This makes oopFactory and deoptimization the only friends of private ArrayKlass::allocate_instance.  This is similar to the PR https://github.com/openjdk/jdk/pull/27372 in mainline with some extra handling for new_refArray (rather than calling RefArrayKlass::allocate_instance() directly.
>> Tested with tier1-4.
>
> Coleen Phillimore has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains three commits:
> 
>  - Merge branch 'lworld' into oopFactory
>  - Remove rogue public
>  - 8367415: Fully encapsulate array allocation in oopFactory

Thanks Fred.

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

PR Comment: https://git.openjdk.org/valhalla/pull/1602#issuecomment-3328339427


More information about the valhalla-dev mailing list