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.

src/hotspot/share/oops/objArrayKlass.hpp line 95:

> 93:                                                 int n, Klass* 
> element_klass, TRAPS);
> 94: 
> 95:  public:

Is this needed? There's already one at line 60.

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

PR Review Comment: 
https://git.openjdk.org/valhalla/pull/1602#discussion_r2369978678

Reply via email to