[lworld] Integrated: 8359370: [lworld] allow instance fields of identity classes to be readable in the prologue phase
Vicente Romero
vromero at openjdk.org
Fri Sep 5 18:52:29 UTC 2025
On Fri, 15 Aug 2025 21:38:08 GMT, Vicente Romero <vromero at openjdk.org> wrote:
> 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
>
> This PR is a remake of https://github.com/openjdk/valhalla/pull/1490
This pull request has now been integrated.
Changeset: 36201086
Author: Vicente Romero <vromero at openjdk.org>
URL: https://git.openjdk.org/valhalla/commit/3620108672dd991ee4ba9f0e5aae649de8c913ad
Stats: 600 lines in 27 files changed: 320 ins; 158 del; 122 mod
8359370: [lworld] allow instance fields of identity classes to be readable in the prologue phase
Reviewed-by: mcimadamore
-------------
PR: https://git.openjdk.org/valhalla/pull/1523
More information about the valhalla-dev
mailing list