Integrated: 8357047: [ubsan] AdapterFingerPrint::AdapterFingerPrint runtime error: index 3 out of bounds

Ashutosh Mehra asmehra at openjdk.org
Fri May 30 18:28:57 UTC 2025


On Thu, 22 May 2025 02:46:37 GMT, Ashutosh Mehra <asmehra at openjdk.org> wrote:

> Refactor `AdapterFingerPrint` to remove the notion of compact representation. As the memory for storing fingerprint is always allocated next to the `AdapterFingerPrint` object, use of `_value` array is not required. This simplifies the implementation a bit, and would also fix the "false" positives flagged by ubsan when accessing `_value` array beyond its size (See the description in JBS issue).
> 
> Testing: hotspot_runtime on x86-64 with fastdebug build

This pull request has now been integrated.

Changeset: b7ca672d
Author:    Ashutosh Mehra <asmehra at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b7ca672d5c5f11f472110154868f08299f6e8796
Stats:     43 lines in 1 file changed: 16 ins; 17 del; 10 mod

8357047: [ubsan] AdapterFingerPrint::AdapterFingerPrint runtime error: index 3 out of bounds

Reviewed-by: kvn, adinn

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

PR: https://git.openjdk.org/jdk/pull/25378


More information about the hotspot-dev mailing list