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

Aleksey Shipilev shade at openjdk.org
Fri Oct 24 14:31:50 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

Marked as reviewed by shade (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/27742#pullrequestreview-3377171194


More information about the hotspot-compiler-dev mailing list