On Mon, 9 Feb 2026 13:18:26 GMT, Damon Fenacci <[email protected]> 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!

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

Marked as reviewed by thartmann (Committer).

PR Review: 
https://git.openjdk.org/valhalla/pull/2069#pullrequestreview-3788904121

Reply via email to