RFR (S) 8245487: Potential double-free of interfaces array

coleen.phillimore at oracle.com coleen.phillimore at oracle.com
Thu Jun 4 13:45:32 UTC 2020


Thanks again, Fred!
Coleen

On 6/4/20 8:41 AM, Frederic Parain wrote:
> Looks good to me.
>
> Thank you for fixing it.
>
> Fred
>
>
>> On Jun 4, 2020, at 07:36, coleen.phillimore at oracle.com wrote:
>>
>> Summary: free _local_interfaces when we free _transitive_interfaces since they can share memory.
>>
>> Tested with tier1-3, also test case with fastdebug and product builds.  ClassLoaderDataGraph::verify is enabled in product for -XX:+VerifyBeforeExit.
>>
>> open webrev at http://cr.openjdk.java.net/~coleenp/2020/8245487.01/webrev
>> bug link https://bugs.openjdk.java.net/browse/JDK-8245487
>>
>> Thanks to Fred for finding the problem and testing on valhalla where it was first observed, and to Ioi for the test case (and finding the problem too!)
>>
>> Thanks,
>> Coleen



More information about the hotspot-runtime-dev mailing list