RFR: Update nmethod caching and clean up unused/duplicate methods [v9]

Vladimir Kozlov kvn at openjdk.org
Mon Jun 16 18:59:40 UTC 2025


On Mon, 16 Jun 2025 13:28:11 GMT, Ashutosh Mehra <asmehra at openjdk.org> wrote:

>> This PR updates nmethod caching to be based on caching of CodeBlob. It also cleans up some dead code and duplicate methods.
>
> Ashutosh Mehra has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Address ADinn's review comment
>   
>   Signed-off-by: Ashutosh Mehra <asmehra at redhat.com>

Output before second failure (AOTCodeFlags.java):

[0.084s][info][aot,codecache,nmethod] 220 (L1): Reading nmethod 'java.lang.invoke.MethodType::returnType()Ljava/lang/Class;' (decomp: 0, hash: 0x49e35a1b, ignore_decomp)
[0.084s][info][aot,codecache        ] 220 (L1): Shared method lookup: java.lang.invoke.MethodType::returnType()Ljava/lang/Class;
[0.084s][info][aot,codecache,nmethod] 220 (L1): Read nmethod 'java.lang.invoke.MethodType::returnType()Ljava/lang/Class;' from AOT Code Cache
Hello World
#
# A fatal error has been detected by the Java Runtime Environment:

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

PR Comment: https://git.openjdk.org/leyden/pull/71#issuecomment-2977734953


More information about the leyden-dev mailing list