[lworld] RFR: 8359370: [lworld] allow instance fields of identity classes to be readable in the prologue phase [v2]
Vicente Romero
vromero at openjdk.org
Fri Jul 11 20:59:38 UTC 2025
> Before this fix only strict fields were readable in the prologue phase. The proposed fix should allow any instance fields of identity classes to be readable in the prologue phase. This implies changes in flow analysis as before we were only tracking final and strict fields. There is also some "cooperation" needed in the code to detect cases when reading a field is not allowed in the prologue phase. For example some methods in Resolve don't have all the needed information at the moment they are dealing with some ASTs and part of the processing needs to be done in Attr
>
> TIA
Vicente Romero has updated the pull request incrementally with one additional commit since the last revision:
adding comments, etc
-------------
Changes:
- all: https://git.openjdk.org/valhalla/pull/1490/files
- new: https://git.openjdk.org/valhalla/pull/1490/files/83b92556..95fb2a80
Webrevs:
- full: https://webrevs.openjdk.org/?repo=valhalla&pr=1490&range=01
- incr: https://webrevs.openjdk.org/?repo=valhalla&pr=1490&range=00-01
Stats: 71 lines in 3 files changed: 39 ins; 25 del; 7 mod
Patch: https://git.openjdk.org/valhalla/pull/1490.diff
Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1490/head:pull/1490
PR: https://git.openjdk.org/valhalla/pull/1490
More information about the valhalla-dev
mailing list