[lworld] RFR: 8370571: [lworld] Complete JDK-8316694 implementation for Valhalla
Damon Fenacci
dfenacci at openjdk.org
Thu Feb 12 07:50:13 UTC 2026
On Thu, 12 Feb 2026 06:13:26 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:
>> JDK-8316694 introduced the creation of new nmethods from existing ones, allowing method relocation in the code heap. In particular it created the method `nmethod::nmethod(const nmethod &nm)` where, among other things, nmethod entry points are copied.
>>
>> Valhalla introduces 3 new entrypoints, which need to be copied as well: `_inline_entry_point`, `_verified_inline_entry_point`, and `_verified_inline_ro_entry_point`.
>>
>>
>> This change adds the copying of those entrypoints and, in the process, creates a lambda function to delegate the computation of the address (used for `_osr_entry_point` as well).
>>
>> ## Testing
>> Tier 1-3+
>
> Looks good to me!
Thanks for reviewing @TobiHartmann.
-------------
PR Comment: https://git.openjdk.org/valhalla/pull/2069#issuecomment-3889175164
More information about the valhalla-dev
mailing list