Integrated: 8279949: JavaThread::_free_handle_block leaks native memory

Leonid Mesnik lmesnik at openjdk.java.net
Tue Feb 15 18:03:11 UTC 2022


On Sat, 12 Feb 2022 22:07:33 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> Please review following fix which delete whole list of JNIHandle blocks in JNIHandleBlock::release_block(...).
> Also, I added sanity verification of _pop_frame_link to ensure that there are no leaks there.
> 
> Fix verified with tier1-6. Also, verified that memory leak is not reproduced anymore.
> 
> Thanks to Vladimir I.  for finding exact root cause of problem.

This pull request has now been integrated.

Changeset: 1aff44b2
Author:    Leonid Mesnik <lmesnik at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/1aff44b2cfcf5d2253161985b902894ee69365fc
Stats:     10 lines in 1 file changed: 5 ins; 0 del; 5 mod

8279949: JavaThread::_free_handle_block leaks native memory

Reviewed-by: dholmes, coleenp

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

PR: https://git.openjdk.java.net/jdk/pull/7453


More information about the hotspot-runtime-dev mailing list