RFR: 8344942: Template-Based Testing Framework [v40]
Emanuel Peter
epeter at openjdk.org
Tue May 20 17:25:04 UTC 2025
On Tue, 20 May 2025 17:05:59 GMT, Roberto Castañeda Lozano <rcastanedalo at openjdk.org> wrote:
>> I updated the section a little. I hope it is better now?
>
> Yes, thanks! For better readability, I suggest merging the paragraph ending with "With the indirection of such a binding, a Template can reference itself." and the paragraph starting with "The writer of recursive {@link Template}s must ensure that this recursion terminates" into a single paragraph.
Hmm. One can have recursive templates also without the Binding. That is why I though I might want to separate them.
Basically, you an have a Template factory, that pumps out the same copy over and over. That way, the indirection goes over that factory, rather than over the binding. But recursion none the less, just recursion through the Template factory, rather the binding.
But I also don't necessarily want to explain all of that...
What do you think? Is it ok to leave separately, or do you have any other suggestions?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24217#discussion_r2098503912
More information about the hotspot-compiler-dev
mailing list