Integrated: 8358600: Template-Framework Library: Template for TestFramework test class

Emanuel Peter epeter at openjdk.org
Thu Jun 12 14:15:38 UTC 2025


On Wed, 4 Jun 2025 15:50:17 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

> We might want to write many IR/TestFramework tests, and so I would like to integrate a Template that generates the class, and the user has to only generate a list of tests.
> 
> This is a first extension for https://github.com/openjdk/jdk/pull/24217. I had already prototyped it earlier and plan to use it in multiple tests https://github.com/openjdk/jdk/pull/23418 (see `IRTestClass.java`).
> 
> https://github.com/openjdk/jdk/blob/dc640cbd8fb8ec76920a7ab52dfe7955ed1d77f2/test/hotspot/jtreg/compiler/lib/template_framework/library/TestFrameworkClass.java#L36-L45

This pull request has now been integrated.

Changeset: b85fe02b
Author:    Emanuel Peter <epeter at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b85fe02be5966b72ea1a92bfb3faf088d310219a
Stats:     282 lines in 2 files changed: 282 ins; 0 del; 0 mod

8358600: Template-Framework Library: Template for TestFramework test class

Reviewed-by: chagedorn, mhaessig

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

PR: https://git.openjdk.org/jdk/pull/25643


More information about the hotspot-compiler-dev mailing list