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

Vladimir Kozlov kvn at openjdk.org
Mon Jun 16 19:33:44 UTC 2025


On Mon, 16 Jun 2025 19:19:43 GMT, Ashutosh Mehra <asmehra at openjdk.org> wrote:

> > I forgot that we call AOTCodeCache::close() on VM exit. It is old workflow. So we do explicitly closing it during production run. Should we even do that with new workflow?
> 
> If we can make AOTCodeCache accessible until exit, then I guess we can continue using immutable data and oop_map from the cache.

It seems work. We only loosing statistic output from AOTCodeClose::close(). We actually should not do it there. There is separate path for printing statistic `print_statistics()` on VM exit which will call AOT code statistics.

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

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


More information about the leyden-dev mailing list