On Wed, 3 Jun 2026 12:52:43 GMT, Johan Sjölen <[email protected]> wrote:

> Hi,
> 
> These are the rest (so far) of @dholmes-ora suggested changes from the PR 
> https://github.com/openjdk/jdk/pull/31122
> 
> ---------
> - [X] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Marked as reviewed by stefank (Committer).

Changes requested by stefank (Committer).

src/hotspot/share/classfile/classLoaderStats.cpp line 39:

> 37:     // Direct instances of ObjArrayKlass represent the Java types that 
> Java code can see.
> 38:     // RefArrayKlass/FlatArrayKlass describe different implementations of 
> the arrays, filter them out.
> 39:     return k->is_objArray_klass() && k->kind() != 
> Klass::KlassKind::ObjArrayKlassKind:

Suggestion:

    return k->is_objArray_klass() && k->kind() != 
Klass::KlassKind::ObjArrayKlassKind;

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

PR Review: 
https://git.openjdk.org/valhalla/pull/2504#pullrequestreview-4418801822
PR Review: 
https://git.openjdk.org/valhalla/pull/2504#pullrequestreview-4418807637
PR Review Comment: 
https://git.openjdk.org/valhalla/pull/2504#discussion_r3348716153

Reply via email to