RFR: 8369219: JNI::RegisterNatives causes a memory leak in CodeCache [v7]

Aleksey Shipilev shade at openjdk.org
Tue Oct 28 06:36:17 UTC 2025


On Fri, 24 Oct 2025 14:05:04 GMT, Francesco Andreuzzi <fandreuzzi at openjdk.org> wrote:

>> I propose to amend `nmethod::is_cold` to let GC collect not-entrant native `nmethod` instances.
>> 
>> Passes tier1 and tier2 (fastdebug).
>
> Francesco Andreuzzi has updated the pull request incrementally with one additional commit since the last revision:
> 
>   sleep

Let's go then, thanks!

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

PR Comment: https://git.openjdk.org/jdk/pull/27742#issuecomment-3454803955


More information about the hotspot-compiler-dev mailing list