RFR: 8331421: ubsan: vmreg.cpp checking error member call on misaligned address
Martin Doerr
mdoerr at openjdk.org
Tue Apr 30 14:01:15 UTC 2024
As shown in the JBS issue, the Undefined Behavior Sanitizer complains about `VMRegImpl::stack_0()->value()`. This can easily be avoided by skipping addition and subtraction of `first()` which is a NOP.
-------------
Commit messages:
- 8331421: ubsan: vmreg.cpp checking error member call on misaligned address
Changes: https://git.openjdk.org/jdk/pull/19022/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19022&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8331421
Stats: 4 lines in 2 files changed: 1 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/19022.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/19022/head:pull/19022
PR: https://git.openjdk.org/jdk/pull/19022
More information about the hotspot-compiler-dev
mailing list