hotspot/src/share/vm/classfile/classLoaderData.hpp
changeset 46380 4a51438196cf
parent 46338 e84b501fa52e
child 46387 c46632622b17
--- a/hotspot/src/share/vm/classfile/classLoaderData.hpp	Wed Apr 12 08:49:08 2017 +0200
+++ b/hotspot/src/share/vm/classfile/classLoaderData.hpp	Wed Apr 12 08:02:29 2017 -0400
@@ -94,6 +94,10 @@
   static void keep_alive_cld_do(CLDClosure* cl);
   static void always_strong_cld_do(CLDClosure* cl);
   // klass do
+  // Walking classes through the ClassLoaderDataGraph include array classes.  It also includes
+  // classes that are allocated but not loaded, classes that have errors, and scratch classes
+  // for redefinition.  These classes are removed during the next class unloading.
+  // Walking the ClassLoaderDataGraph also includes anonymous classes.
   static void classes_do(KlassClosure* klass_closure);
   static void classes_do(void f(Klass* const));
   static void methods_do(void f(Method*));