Integrated: 8371493: Simplify search for AdapterHandlerEntry

Ashutosh Mehra asmehra at openjdk.org
Tue Nov 11 15:10:22 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`.

This pull request has now been integrated.

Changeset: bbeb6bf0
Author:    Ashutosh Mehra <asmehra at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/bbeb6bf0ac8952feaf8afc9c9b25a9a372c2c798
Stats:     35 lines in 3 files changed: 1 ins; 31 del; 3 mod

8371493: Simplify search for  AdapterHandlerEntry

Reviewed-by: kvn, adinn

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

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


More information about the hotspot-dev mailing list