-
Enhancement
-
Resolution: Unresolved
-
P2
-
repo-valhalla
One of the biggest challenges in project Valhalla is that we don't have any existing code that uses this new language feature. The implementation is only exercised by newly written (or migrated) code. We need better test coverage, especially for the JITs.
Now that the Template-Based Testing Framework (JDK-8344942) is ready, we should use it to write templated tests for Valhalla. One could start by looking at the existing compiler tests in hotspot/jtreg/compiler/valhalla/inlinetypes/ and templatize some of them to increase coverage. Ideally, even IR-framework based tests that verify that a certain optimization kicks in.
Even simpler, we need to increase test coverage of the calling convention by generating all kinds of different (small enough) value classes and pass them around via (C1/C2 compiled and interpreted methods). This would have caught JDK-8348547 and similar issues.
Now that the Template-Based Testing Framework (
Even simpler, we need to increase test coverage of the calling convention by generating all kinds of different (small enough) value classes and pass them around via (C1/C2 compiled and interpreted methods). This would have caught JDK-8348547 and similar issues.
- relates to
-
JDK-8344942 Template-Based Testing Framework
-
- Resolved
-