RFR: 8367531: Template Framework: use scopes and tokens instead of misbehaving immediate-return-queries [v11]

Emanuel Peter epeter at openjdk.org
Thu Nov 6 10:35:01 UTC 2025


On Wed, 5 Nov 2025 13:30:18 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:

>> I'm updating the description in `Hook.java` a little, to mention this.
>
> Thanks for the example and updating `Hook.java`!
> 
>> Do you think we should talk about it somewhere, maybe add a further example at the very end, that discusses this?
> 
> It might not hurt. The question just naturally occurred to me at that point in the tutorial. But I'm not sure if others feel the same way. If you add an example you could mention that this is advanced or some expert use or something like that. You could also reference to `Hook.java` for more details.

I added `generateWithScopes2`.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27255#discussion_r2498412555


More information about the hotspot-compiler-dev mailing list