On Thu, 5 Feb 2026 13:07:18 GMT, Casper Norrbin <[email protected]> wrote:

> Hi everyone,
> 
> This PR removes the redundant `ClassFileParser::_has_inlined_fields` member 
> from ClassFileParser. The value stored in `_has_inlined_fields` is derived 
> directly from `FieldLayoutInfo` and is only used for a getter. Since 
> `ClassFileParser` already retains this in `_layout_info`, a separate 
> duplicate member is unnecessary. With this change, the getter returns the 
> value directly from the stored `FieldLayoutInfo`, removing the extra member 
> while preserving existing behavior.
> 
> Testing:
> - Tier 1

Lgtm, thanks.

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

Marked as reviewed by phubner (Committer).

PR Review: 
https://git.openjdk.org/valhalla/pull/2047#pullrequestreview-3756985095

Reply via email to