RFR: 8331421: ubsan: vmreg.cpp checking error member call on misaligned address

Lutz Schmidt lucy at openjdk.org
Thu May 2 09:42:54 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()`.

LGTM.

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

Marked as reviewed by lucy (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/19022#pullrequestreview-2035282281


More information about the hotspot-compiler-dev mailing list