[lworld] RFR: 8355076: [lworld] Incorrect declared_nonstatic_fields computation [v4]

Quan Anh Mai qamai at openjdk.org
Tue Apr 22 15:47:42 UTC 2025


> Hi,
> 
> This patch fixes the computation of declared_nonstatic_fields if the super class contains flat fields. Note that due to [JDK-8354322](https://bugs.openjdk.org/browse/JDK-8354322) such cases are not present at the moment.
> 
> Please kindly review, thanks a lot.

Quan Anh Mai has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains four commits:

 - Merge branch 'lworld' into declaredfields
 - small adjustments
 - no need to pass the fields
 - move declared_nonstatic_fields to ciInstanceKlass

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

Changes: https://git.openjdk.org/valhalla/pull/1438/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1438&range=03
  Stats: 245 lines in 4 files changed: 89 ins; 89 del; 67 mod
  Patch: https://git.openjdk.org/valhalla/pull/1438.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1438/head:pull/1438

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


More information about the valhalla-dev mailing list