8254129: IR Test Framework to support regex-based matching on the IR in JTreg compiler tests #3508
This RFE provides an IR test framework to perform regex-based checks on the C2 IR shape of test methods emitted by the VM flags
The framework is based on the ideas of the currently present IR test framework in Valhalla (mainly implemented by @TobiHartmann) which is being used with great success. This new framework aims to replace the old one in Valhalla at some point.
To finish a first version of this framework for JDK 17, I decided to leave some improvement possibilities and ideas to be followed up on in additional RFEs. Some ideas are mentioned in "Future Work" in README.md and were also created as subtasks of this RFE.
Testing (also described in "Internal Framework Tests in README.md):
Some stats about the framework code added to ir_framework:
Big thanks to:
The text was updated successfully, but these errors were encountered:
kudos to you, Tobias, Katya, and all involved, I have really high hopes that this framework will improve the quality of both JVM and our testing.
I'll look at the code later, a few general comments:
As mentioned above, I moved the framework classes and tests and updated the packages. I also split the classes into subpackages to structure the code better. A summary of the package structure can be found in the updated README file in section 5.
I put this PR on hold as I'm away until the end of the month.