[lworld] RFR: 8370571: [lworld] Complete JDK-8316694 implementation for Valhalla

Tobias Hartmann thartmann at openjdk.org
Thu Feb 12 06:16:09 UTC 2026


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

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

Marked as reviewed by thartmann (Committer).

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


More information about the valhalla-dev mailing list