[lworld] Integrated: 8377242: [lworld] Remove _has_inlined_fields member from ClassFileParser

Casper Norrbin cnorrbin at openjdk.org
Fri Feb 6 12:16:41 UTC 2026


On Thu, 5 Feb 2026 13:07:18 GMT, Casper Norrbin <cnorrbin at openjdk.org> 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

This pull request has now been integrated.

Changeset: 83ef4858
Author:    Casper Norrbin <cnorrbin at openjdk.org>
Committer: Paul Hübner <phubner at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/83ef4858dcbce1e1c1a01dbac24bb4332ecf8d9a
Stats:     4 lines in 2 files changed: 0 ins; 3 del; 1 mod

8377242: [lworld] Remove _has_inlined_fields member from ClassFileParser

Reviewed-by: phubner, liach, fparain

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

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


More information about the valhalla-dev mailing list