1.1 --- a/src/share/vm/classfile/systemDictionary.cpp Wed Dec 12 18:35:26 2018 +0100 1.2 +++ b/src/share/vm/classfile/systemDictionary.cpp Tue Aug 28 10:10:11 2018 -0400 1.3 @@ -139,6 +139,9 @@ 1.4 } 1.5 1.6 #endif 1.7 +#if INCLUDE_JFR 1.8 +#include "jfr/jfr.hpp" 1.9 +#endif 1.10 1.11 // ---------------------------------------------------------------------------- 1.12 // Parallel class loading check 1.13 @@ -1749,6 +1752,7 @@ 1.14 // First, mark for unload all ClassLoaderData referencing a dead class loader. 1.15 bool unloading_occurred = ClassLoaderDataGraph::do_unloading(is_alive, clean_alive); 1.16 if (unloading_occurred) { 1.17 + JFR_ONLY(Jfr::on_unloading_classes();) 1.18 dictionary()->do_unloading(); 1.19 constraints()->purge_loader_constraints(); 1.20 resolution_errors()->purge_resolution_errors();