RFR: 8371493: Simplify search for AdapterHandlerEntry
Andrew Dinn
adinn at openjdk.org
Tue Nov 11 09:58:07 UTC 2025
On Mon, 10 Nov 2025 18:54:52 GMT, Ashutosh Mehra <asmehra at openjdk.org> wrote:
> `AdapterHandlerEntry` stores a direct pointer to `AdapterBlob`. Therefore, when looking for a `AdapterHandlerEntry` corresponding to a `CodeBlob`, we can use direct comparison instead of using `CodeCache::find_blob`.
> This patch also replaces the call to `AdapterHandlerLibrary::contains` in `CodeBlob::dump_for_addr` with a more trivial check `is_adapter_blob`.
Looks good.
-------------
Marked as reviewed by adinn (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/28223#pullrequestreview-3447205571
More information about the hotspot-dev
mailing list