RFR: 8366905: Store AdapterBlob pointer in AdapterHandlerEntry
Aleksey Shipilev
shade at openjdk.org
Fri Sep 5 19:30:27 UTC 2025
On Thu, 4 Sep 2025 14:49:48 GMT, Ashutosh Mehra <asmehra at openjdk.org> wrote:
> This PR removes the need to store entry point addresses in AdapterHandlerEntry by storing a direct pointer to AdapterBlob instead. Entry point addresses can be computed on the fly from the entry point offsets stored in AdapterBlob.
> So the question is: for zero does it matter if we return `zero_null_code_stub` or nullptr? I remember at one point @shipilev was returning `nullptr` as the c2i entry address in one of the PR (#26746)
It is fine to return `nullptr` for entry addresses in Zero. Zero is arguably out of line for recording external addresses as "entry points", even for the sake of better debugging. @adinn wanted to clean this up eventually, not sure we ever did.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27101#issuecomment-3257156930
More information about the hotspot-dev
mailing list