-
Enhancement
-
Resolution: Unresolved
-
P4
-
26
./test/hotspot/jtreg/compiler/lib/template_framework/library/TestFrameworkClass.java
People that need to triage test failures sometimes struggle with extracting the test to something executable.
We should add some comments to the generated code, so that when it is extracted, it is relatively simple to transform the generated code to an executable JTREG test.
I have written down inJDK-8366845 what I did there:
How I extracted the test:
- I saw that the test compiler.loopopts.superword.templated.AliasingFuzzer::test_989 crashed in compilation.
- Downloaded the workspace, searched for AliasingFuzzer.java
- Took the whole file, slapped a jtreg launcher part at the top, removed framework.addFlags line, and launched it with JTREG.
- And of course I made sure to run it with -XX:UseAVX=2 because I have an avx512 machine
JDK-8370459 also has steps for reproduction.
People that need to triage test failures sometimes struggle with extracting the test to something executable.
We should add some comments to the generated code, so that when it is extracted, it is relatively simple to transform the generated code to an executable JTREG test.
I have written down in
How I extracted the test:
- I saw that the test compiler.loopopts.superword.templated.AliasingFuzzer::test_989 crashed in compilation.
- Downloaded the workspace, searched for AliasingFuzzer.java
- Took the whole file, slapped a jtreg launcher part at the top, removed framework.addFlags line, and launched it with JTREG.
- And of course I made sure to run it with -XX:UseAVX=2 because I have an avx512 machine
JDK-8370459 also has steps for reproduction.
- relates to
-
JDK-8366845 C2 SuperWord: wrong VectorCast after VectorReinterpret with swapped src/dst type
-
- Resolved
-
-
JDK-8370459 Test compiler/igvn/ExpressionFuzzer.java failed: Value mismatch: false vs true
-
- New
-
-
JDK-8358600 Template-Framework Library: Template for TestFramework test class
-
- Resolved
-