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

Vladimir Kozlov kvn at openjdk.org
Fri Jun 13 01:42:46 UTC 2025


On Thu, 12 Jun 2025 20:12:36 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:
> 
>   Add back CodeBuffer::clear_strings()
>   
>   Signed-off-by: Ashutosh Mehra <asmehra at redhat.com>

My testing passed and everything seems fine.
Did you compare outputs logs that we produce/use about the same number of AOT nmethods?
Did you compare performance?

May be look on `XX:+CITime` output.

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

PR Review: https://git.openjdk.org/leyden/pull/71#pullrequestreview-2923179521
PR Comment: https://git.openjdk.org/leyden/pull/71#issuecomment-2968724509


More information about the leyden-dev mailing list