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

Frederic Parain frederic.parain at oracle.com
Thu Jun 4 12:41:50 UTC 2020


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