RFR: 8357047: [ubsan] AdapterFingerPrint::AdapterFingerPrint runtime error: index 3 out of bounds
Ashutosh Mehra
asmehra at openjdk.org
Thu May 22 13:25:37 UTC 2025
On Thu, 22 May 2025 04:00:38 GMT, Vladimir Kozlov <kvn 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
>
> @ashu-mehra please pull [8357503](https://bugs.openjdk.org/browse/JDK-8357503) fix
@vnkozlov I have merged the changes from the master branch.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25378#issuecomment-2901214147
More information about the hotspot-dev
mailing list