RFR: 8357047: [ubsan] AdapterFingerPrint::AdapterFingerPrint runtime error: index 3 out of bounds [v3]
Ashutosh Mehra
asmehra at openjdk.org
Thu May 29 13:36:40 UTC 2025
> 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
Ashutosh Mehra has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
- Merge branch 'master' into JDK-8357047
- Merge branch 'master' into JDK-8357047
- 8357047: [ubsan] AdapterFingerPrint::AdapterFingerPrint runtime error: index 3 out of bounds
Signed-off-by: Ashutosh Mehra <asmehra at redhat.com>
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/25378/files
- new: https://git.openjdk.org/jdk/pull/25378/files/d4c9e95b..b56ce0b6
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=25378&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=25378&range=01-02
Stats: 37257 lines in 744 files changed: 27706 ins; 6171 del; 3380 mod
Patch: https://git.openjdk.org/jdk/pull/25378.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25378/head:pull/25378
PR: https://git.openjdk.org/jdk/pull/25378
More information about the hotspot-dev
mailing list