RFR: 8344942: Template-Based Testing Framework [v16]

Emanuel Peter epeter at openjdk.org
Thu May 22 10:41:09 UTC 2025


On Tue, 20 May 2025 17:06:34 GMT, Roberto Castañeda Lozano <rcastanedalo at openjdk.org> wrote:

>> A few more documentation suggestions, will continue reviewing this changeset over the next days.
>
>> @robcasloz I addressed all your comments :)
> 
> Thanks @eme64!

@robcasloz Another comment about scopes and `DataName`s.

I hope that most regular users don't have to directly interact with `addDataName` and `dataNames()...sample()`, but that these are wrapped into Templates. The hope is that Templates like `defineField(name, type)` and `loadValue.asToken(type)` could wrap the API calls, so that the user does not have to interact with `DataName` directly, but more with Java concepts, such as adding fields, variables, getting some random value (maybe constant, maybe field load, maybe variable load, ...).

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

PR Comment: https://git.openjdk.org/jdk/pull/24217#issuecomment-2900738850


More information about the hotspot-compiler-dev mailing list