RFR: 8333622: ubsan: relocInfo_x86.cpp:101:56: runtime error: pointer index expression with base (-1) overflowed

Christian Hagedorn chagedorn at openjdk.org
Thu Jun 6 06:21:44 UTC 2024


On Wed, 5 Jun 2024 22:28:39 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> Add missing check to `pd_call_destination()` similar to check in `pd_set_call_destination()` to avoid arithmetic with `(address)(-1)`.
> 
> Tested tier1-3,stress,xcomp

Looks good to me, too.

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

Marked as reviewed by chagedorn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/19568#pullrequestreview-2100887615


More information about the hotspot-compiler-dev mailing list