On Fri, 19 Sep 2025 14:32:56 GMT, Coleen Phillimore <[email protected]> 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. This pull request has now been integrated. Changeset: 77d067c9 Author: Coleen Phillimore <[email protected]> URL: https://git.openjdk.org/valhalla/commit/77d067c9472a463c2540d2754489fe4696487a05 Stats: 54 lines in 10 files changed: 18 ins; 26 del; 10 mod 8367415: Fully encapsulate array allocation in oopFactory Reviewed-by: fparain ------------- PR: https://git.openjdk.org/valhalla/pull/1602
