[lworld] RFR: 8359370: [lworld] allow instance fields of identity classes to be readable in the prologue phase [v15]
Maurizio Cimadamore
mcimadamore at openjdk.org
Mon Sep 1 11:07:59 UTC 2025
On Fri, 29 Aug 2025 14:27:26 GMT, Vicente Romero <vromero at openjdk.org> wrote:
>> (or, do we only do local proxies for strict fields? If so, should we be more uniform here?)
>
> we do local proxies for every field read in the prologue, a getField with a larval `this` will be an error in the VM
ok, so I guess I still don't get whether this _must_ be an error. In principle `y` could have a local proxy, in which case the lambda could be thought of as accessing that proxy, so no need to capture `this` ?
-------------
PR Review Comment: https://git.openjdk.org/valhalla/pull/1523#discussion_r2313648547
More information about the valhalla-dev
mailing list