[lworld] RFR: 8364447: [lworld] Save isIdentity in a field of Class
Chen Liang
liach at openjdk.org
Tue Nov 18 00:07:41 UTC 2025
On Fri, 14 Nov 2025 19:04:45 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> This change saves an 'identity' field in the j.l.Class for easy checks and inlining.
> Tested with tier1-4.
What Remi suggested probably works - we do seem to inject IDENTITY to older classes in a `!support_inline_types()` check in `ClassFileParser::parse_stream` now, so something like `componentType == null && Modifier.isIdentity(classFileAccessFlags)` can work.
-------------
PR Comment: https://git.openjdk.org/valhalla/pull/1738#issuecomment-3544399131
More information about the valhalla-dev
mailing list