RFR: 8369219: JNI::RegisterNatives can cause a memory leak in CodeCache [v3]

Francesco Andreuzzi fandreuzzi at openjdk.org
Sat Oct 11 18:25:48 UTC 2025


On Sat, 11 Oct 2025 17:18:19 GMT, Andrei Pangin <apangin at openjdk.org> wrote:

>> Francesco Andreuzzi has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   fix summary
>
> test/hotspot/jtreg/gc/NativeWrapperCollection/TestNativeWrapperCollection.java line 84:
> 
>> 82:                 continue;
>> 83:             }
>> 84:             if (foundOne) {
> 
> Where is `foundOne` updated?

Thanks, the test would usually fail when it finds the not-entrant line so I missed it. Fixed in 8ea13b6ec69ef5bfcd5f2719363b0a0596b55800

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27742#discussion_r2423077779


More information about the hotspot-dev mailing list