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+

This pull request has now been integrated.

Changeset: cd9335ae
Author:    Damon Fenacci <[email protected]>
URL:       
https://git.openjdk.org/valhalla/commit/cd9335aeda5c7092577bd50a79df2f0dcbd3c3b4
Stats:     25 lines in 2 files changed: 7 ins; 12 del; 6 mod

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

Reviewed-by: thartmann

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

PR: https://git.openjdk.org/valhalla/pull/2069

Reply via email to