RFR: 8317132: Prepare HotSpot for permissive- [v5]
Julian Waters
jwaters at openjdk.org
Mon Oct 2 14:09:10 UTC 2023
On Mon, 2 Oct 2023 13:01:44 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:
>> Daniel suggested splitting initialization into declaration and assignment instead, which seems like a better solution
>
> Okay. TBH, I don't see how this is an improvement over the status quo, since the `goto` still jumps over the initialization...
The little gotcha in there is that goto is allowed to jump over the declaration of a scalar (of primitive type) local, but not the definition of one (declaration + initialization together). Hence goto is not allowed to jump over address pc = x; for instance, but is allowed to for address pc; pc = x;
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/15955#discussion_r1342740726
More information about the hotspot-runtime-dev
mailing list