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

Christian Hagedorn chagedorn at openjdk.org
Wed Nov 5 13:52:25 UTC 2025


On Wed, 5 Nov 2025 11:57:35 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> Do you think we should talk about it somewhere, maybe add a further example at the very end, that discusses this?
>> 
>> Alternatively, we could also add extra documentation at the `Hook.insert` documentation.
>
> 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.

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

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


More information about the hotspot-compiler-dev mailing list