RFR: 8371493: Simplify search for AdapterHandlerEntry
Vladimir Kozlov
kvn at openjdk.org
Mon Nov 10 22:23:11 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`.
> It also replaces the call to `AdapterHandlerLibrary::contains` in `CodeBlob::dump_for_addr` with a more trivial check `is_adapter_blob`.
Good.
-------------
Marked as reviewed by kvn (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/28223#pullrequestreview-3445407286
More information about the hotspot-dev
mailing list