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

Andrei Pangin apangin at openjdk.org
Mon Oct 27 11:28:14 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 apangin (Author).

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

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


More information about the hotspot-compiler-dev mailing list