[lworld] Test cases for value type consistency checks (original) (raw)
Ioi Lam ioi.lam at oracle.com
Tue Jul 17 06:08:55 UTC 2018
- Previous message (by thread): hg: valhalla/valhalla: [Lworld] Emit slightly better byte code sequence for withfield operation involving fields of category 1 computational type
- Next message (by thread): [lworld] Test cases for value type consistency checks
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have modified Frederic's test cases for the value type consistency checks [1]. See
http://cr.openjdk.java.net/~iklam/valhalla/tests_for_value_types_consistency_checks.v01/
The test cases were originally driven by a shell script [2], and I rewrote them to run inside jtreg. The idea is to build 2 set of classes that have a different idea of whether "LPoint;" is a VT or not, and see how these classes interact.
I'll try to write more test cases, including ones that use Reflection and MethodHandles.
Thanks
- Ioi
[1] http://hg.openjdk.java.net/valhalla/valhalla/rev/a5573f4f6392 [2] http://cr.openjdk.java.net/~iklam/valhalla/tests_for_value_types_consistency_checks.v01/run.sh
- Previous message (by thread): hg: valhalla/valhalla: [Lworld] Emit slightly better byte code sequence for withfield operation involving fields of category 1 computational type
- Next message (by thread): [lworld] Test cases for value type consistency checks
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]