RFR: 8371493: Simplify search for AdapterHandlerEntry
Ashutosh Mehra
asmehra at openjdk.org
Tue Nov 11 15:06:58 UTC 2025
On Mon, 10 Nov 2025 22:20:37 GMT, Vladimir Kozlov <kvn 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`.
>
> Good.
@vnkozlov @adinn thanks for the reviews.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28223#issuecomment-3517340317
More information about the hotspot-dev
mailing list