RFR (S) 8213107: Make ClassLoaderDataGraph iterator skip unloaded CLDs (original) (raw)

Lois Foltan lois.foltan at oracle.com
Tue Oct 30 14:14:20 UTC 2018


Looks good. Lois

On 10/30/2018 9:25 AM, coleen.phillimore at oracle.com wrote:

Summary: with concurrent class unloading, the CLDG could contain unloaded CLDs while iterating in a safepoint

This fixes the parallel class loading tests (which unfortunately aren't in the open tests) with concurrent class unloading. Redefinition was iterating through the CLDG and barfing on unloaded classes. Tested with pcl tests, test/hotspot/jtreg/runtime, jfr tests, and test/hotspot/jtreg/vmTestbase/nsk which includes jvmti and jdi tests.   These things iterate through CLDG. open webrev at http://cr.openjdk.java.net/~coleenp/8213107.01/webrev bug link https://bugs.openjdk.java.net/browse/JDK-8213107 Thanks, Coleen



More information about the hotspot-runtime-dev mailing list