[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-hotspot-runtime-dev
Subject:    Re: RFR (S) 8243503: InstanceKlass::_array_name is not needed and leaks
From:       coleen.phillimore () oracle ! com
Date:       2020-04-24 20:22:05
Message-ID: 4419b406-de6b-a3e8-a78d-b4c2a4c7bbb7 () oracle ! com
[Download RAW message or body]

Thanks Harold!
Coleen

On 4/24/20 4:11 PM, Harold Seigel wrote:
> Looks good!
>
> Thanks, Harold
>
> On 4/24/2020 2:22 PM, coleen.phillimore@oracle.com wrote:
>>
>>
>> On 4/24/20 1:32 PM, Lois Foltan wrote:
>>> On 4/23/2020 7:07 PM, coleen.phillimore@oracle.com wrote:
>>>> Summary: decrement the refcount for all Klass in class unloading.
>>>>
>>>> See bug for more details.  Tested with tier1-6.
>>>>
>>>> open webrev at 
>>>> http://cr.openjdk.java.net/~coleenp/2020/8243503.01/webrev
>>>> bug link https://bugs.openjdk.java.net/browse/JDK-8243503
>>>>
>>>> Thanks,
>>>> Coleen
>>>
>>> Hi Coleen,
>>>
>>> Looks good.  Minor nit, can you keep part of the comment in 
>>> instanceKlass.cpp line #590, "which includes reference counting 
>>> symbol names"?  I find that helpful.
>>
>> Hi Lois,
>>
>> I restored the comment.  It made me notice that I had a bug. The 
>> Klass::release_C_heap_structures should be called by 
>> InstanceKlass::release_C_heap_structures_internal() so that the _name 
>> refcount is decremented for redefinition too.  I retested with the 
>> redefinition tests (which exercise this code) and runThese which does 
>> a lot of class unloading and will sanity check this with tier1.
>>
>> open webrev at 
>> http://cr.openjdk.java.net/~coleenp/2020/8243503.02/webrev
>> bug link https://bugs.openjdk.java.net/browse/JDK-8243503
>>
>> thanks,
>> Coleen
>>>
>>> Thanks,
>>> Lois
>>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic