RFR: JDK-8303605: Memory leaks in Metaspace gtests [v2]

Justin King jcking at openjdk.org
Mon Mar 6 16:30:16 UTC 2023


On Sat, 4 Mar 2023 09:32:18 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

>> Justin King has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Update based on review
>>   
>>   Signed-off-by: Justin King <jcking at google.com>
>
> test/hotspot/gtest/metaspace/test_virtualspacenode.cpp line 543:
> 
>> 541:   DEBUG_ONLY(node->verify_locked();)
>> 542: 
>> 543:   delete node;
> 
> Can you please add an ASSERT after the delete to test that sres and scomm are 0?

Done.

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

PR: https://git.openjdk.org/jdk/pull/12865


More information about the hotspot-runtime-dev mailing list