On Thu, 24 Sep 2026 02:29:28 GMT, Serguei Spitsyn <[email protected]> wrote:
> This PR has fixes from @xmas92 for two bugs: > - https://bugs.openjdk.org/browse/JDK-8392964: JVMTI value-object tag > equality ignores inherited fields > - https://bugs.openjdk.org/browse/JDK-8386824: JVMTI equal_fields compares > value object floats mishandling NaNs > > The fix accounts for inherited fields for JVMTI value-object tag equality. > Also, it is using bit comparison for fields of `float` and `double` types. > This updates provides an additional test coverage with new JVMTI test: > - > `test/hotspot/jtreg/serviceability/jvmti/valhalla/SetTag/ValueTagSubstitutabilityTest.java` > > Testing: > - Checked that new test `ValueTagSubstitutabilityTest.java` is failing > without this fix > - Checked that new test `ValueTagSubstitutabilityTest.java` is not failing > with the fix > - TBD: Run mach5 tiers 1-6 > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). This pull request has now been integrated. Changeset: e2f4490d Author: Serguei Spitsyn <[email protected]> URL: https://git.openjdk.org/jdk/commit/e2f4490dc717e21e666cb2c3679de46f37b8e927 Stats: 220 lines in 3 files changed: 215 ins; 0 del; 5 mod 8392964: JVMTI value-object tag equality ignores inherited fields 8386824: JVMTI equal_fields compares value object floats mishandling NaNs Co-authored-by: Axel Boldt-Christmas <[email protected]> Reviewed-by: aboldtch, fparain ------------- PR: https://git.openjdk.org/jdk/pull/33046
