RFR: 8352869: Verify.checkEQ: extension for NaN, VectorAPI and arbitrary Objects

Emanuel Peter epeter at openjdk.org
Tue Mar 25 11:27:33 UTC 2025


We should extend the functionality of Verify.checkEQ:
- Allow different NaN encodings to be seen as equal (by default).
- Compare VectorAPI vectors.
- Compare Exceptions, and their messages.
- Compare arbitrary Objects via Reflection.

Note: this is a prerequisite for the Template Library [JDK-8352861](https://bugs.openjdk.org/browse/JDK-8352861) / https://github.com/openjdk/jdk/pull/23418.

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

Commit messages:
 - clean up test
 - JDK-8352869

Changes: https://git.openjdk.org/jdk/pull/24224/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24224&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8352869
  Stats: 656 lines in 3 files changed: 567 ins; 2 del; 87 mod
  Patch: https://git.openjdk.org/jdk/pull/24224.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24224/head:pull/24224

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


More information about the hotspot-compiler-dev mailing list