src/share/vm/oops/instanceKlass.cpp

changeset 9931
fd44df5e3bc3
parent 9806
758c07667682
parent 9896
1b8c45b8216a
equal deleted inserted replaced
9855:274a1ea904c8 9931:fd44df5e3bc3
76 #include "oops/oop.pcgc.inline.hpp" 76 #include "oops/oop.pcgc.inline.hpp"
77 #endif // INCLUDE_ALL_GCS 77 #endif // INCLUDE_ALL_GCS
78 #ifdef COMPILER1 78 #ifdef COMPILER1
79 #include "c1/c1_Compiler.hpp" 79 #include "c1/c1_Compiler.hpp"
80 #endif 80 #endif
81 #if INCLUDE_JFR
82 #include "jfr/jfrEvents.hpp"
83 #endif
84
81 85
82 PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC 86 PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC
83 87
84 #ifdef DTRACE_ENABLED 88 #ifdef DTRACE_ENABLED
85 89
2527 JvmtiExport::post_class_unload(ik); 2531 JvmtiExport::post_class_unload(ik);
2528 } 2532 }
2529 2533
2530 // notify ClassLoadingService of class unload 2534 // notify ClassLoadingService of class unload
2531 ClassLoadingService::notify_class_unloaded(ik); 2535 ClassLoadingService::notify_class_unloaded(ik);
2536
2537 #if INCLUDE_JFR
2538 assert(ik != NULL, "invariant");
2539 EventClassUnload event;
2540 event.set_unloadedClass(ik);
2541 event.set_definingClassLoader(ik->class_loader_data());
2542 event.commit();
2543 #endif
2532 } 2544 }
2533 2545
2534 void InstanceKlass::release_C_heap_structures(InstanceKlass* ik) { 2546 void InstanceKlass::release_C_heap_structures(InstanceKlass* ik) {
2535 // Clean up C heap 2547 // Clean up C heap
2536 ik->release_C_heap_structures(); 2548 ik->release_C_heap_structures();

mercurial