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

coleen.phillimore at oracle.com coleen.phillimore at oracle.com
Thu Jun 4 11:36:21 UTC 2020

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 

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!)


More information about the hotspot-runtime-dev mailing list