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

Emanuel Peter epeter at openjdk.org
Wed Nov 5 12:00:21 UTC 2025


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

>> This is not exactly a great way to code though... most likely we don't really want the `let` to escape, and so a `hashtagScope` would be best.
>
> I don't mention all of this in the tutorial, because it is more complexity than the user probably wants to digest at this point.

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.

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

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


More information about the hotspot-compiler-dev mailing list