RFR (XS) 8210559: ClassLoaderData Symbols can leak

Jiangli Zhou jiangli.zhou at oracle.com
Fri Sep 14 16:11:11 UTC 2018


Looks even better!

Thanks,
Jiangli 

> On Sep 14, 2018, at 6:04 AM, coleen.phillimore at oracle.com wrote:
> 
> 
> Thank you Jiangli and Lois.
> Can you look at 02 too?  I added a whitebox function and to test UnloadTest.java.
> http://cr.openjdk.java.net/~coleenp/8210559.01/webrev
> thanks,
> Coleen
> 
>> On 9/12/18 9:44 PM, Jiangli Zhou wrote:
>> +1
>> 
>> Thanks,
>> 
>> Jiangli
>> 
>> 
>>> On 9/12/18 6:28 PM, Lois Foltan wrote:
>>> Looks good.
>>> Lois
>>> 
>>>> On 9/12/2018 7:32 PM, coleen.phillimore at oracle.com wrote:
>>>> Summary: unrefcount the symbol names when the CLD is destroyed
>>>> 
>>>> I was going to clean up the sometimes null value of _name and _name_and_id, and have the boot classloader data have a name, but there's a bootstrapping problem.  NULL CLD is created before the SymbolTable.  So this wasn't done.
>>>> 
>>>> Tested with mach5 hs-tier1-3, and runThese jck which does a lot of class unloading.
>>>> 
>>>> open webrev at http://cr.openjdk.java.net/~coleenp/8210559.01/webrev
>>>> bug link https://bugs.openjdk.java.net/browse/JDK-8210559
>>>> 
>>>> Thanks,
>>>> Coleen
>>>> 
>>>> 
>>> 
>> 
> 



More information about the hotspot-runtime-dev mailing list