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

Tobias Hartmann thartmann at openjdk.org
Thu Jun 6 05:28:45 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.

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

Marked as reviewed by thartmann (Reviewer).

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


More information about the hotspot-compiler-dev mailing list