[lworld] Integrated: 8363846: [lworld] Make Class.isIdentityClass() non-native

Coleen Phillimore coleenp at openjdk.org
Thu Jul 24 18:16:12 UTC 2025


On Tue, 22 Jul 2025 17:41:27 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> This moves isIdentityClass() implementation to Class.java, and checks within the JVM that is_identity_class() doesn't check the access flags for an ArrayKlass, since AccessFlags aren't initialized in ArrayKlasses.  The AccessFlags should be moved from Klass.hpp to InstanceKlass.cpp in mainline but that's a more complicated change and has several pieces.
> Added a test.
> Tested with tier1 locally.

This pull request has now been integrated.

Changeset: acfb4f04
Author:    Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/acfb4f047c6a43b2d85f48385d356a0d54161e2c
Stats:     106 lines in 7 files changed: 87 ins; 14 del; 5 mod

8363846: [lworld] Make Class.isIdentityClass() non-native

Reviewed-by: liach, rriggs

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

PR: https://git.openjdk.org/valhalla/pull/1514


More information about the valhalla-dev mailing list