RFR: 8344942: Template-Based Testing Framework [v16]
Emanuel Peter
epeter at openjdk.org
Wed May 14 15:08:50 UTC 2025
On Wed, 14 May 2025 15:00:24 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
>> test/hotspot/jtreg/compiler/lib/template_framework/Template.java line 50:
>>
>>> 48: * filled (replaced) by different values at each Template instantiation. For example, these "holes" can
>>> 49: * be filled with different types, operators or constants. Templates can also be nested, allowing a modular
>>> 50: * use of Templates.
>>
>> I suggest replacing this text with a high-level summary of what is already written in the README file (or the other way round, write a short summary in the README file and point to this file for more background).
>
> I remember discussing with @chhagedorn about what goes in the README and what in the Java file. Personally, I think as much as possible should go into the Java file. I think @chhagedorn prefers the README. So I ended up with a bit of a compromise, putting the same introduction in both places, but doing the details in the Java file. And I think I want to keep it this way. Unless @chhagedorn is ok with it if we just remove all but the first paragraph, and only refer to the Java file docs.
>
> What I'll do now anyway, based on your suggestion @robcasloz : link from the README to the Java file.
And: in the Java file, I move the comment about the CompileFramework up, to mirror the README.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24217#discussion_r2089165536
More information about the hotspot-compiler-dev
mailing list