RFR: 8331421: ubsan: vmreg.cpp checking error member call on misaligned address
Matthias Baesken
mbaesken at openjdk.org
Tue Apr 30 14:51:03 UTC 2024
On Tue, 30 Apr 2024 13:56:07 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:
> As shown in the JBS issue, the Undefined Behavior Sanitizer complains about `VMRegImpl::stack_0()->value()`. This can easily be avoided by skipping the more complicated way which includes addition and subtraction of `first()`.
looks good and fixes the error reported by ubsan.
-------------
Marked as reviewed by mbaesken (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/19022#pullrequestreview-2031613469
More information about the hotspot-compiler-dev
mailing list