hotspot/src/share/vm/memory/referenceProcessor.hpp
changeset 4738 25586a89c1c3
parent 1610 5dddd195cc86
child 4885 cee90a57b58f
--- a/hotspot/src/share/vm/memory/referenceProcessor.hpp	Sat Jan 16 23:51:50 2010 -0800
+++ b/hotspot/src/share/vm/memory/referenceProcessor.hpp	Thu Jan 21 11:33:32 2010 -0800
@@ -170,11 +170,13 @@
   // The caller is responsible for taking care of potential
   // interference with concurrent operations on these lists
   // (or predicates involved) by other threads. Currently
-  // only used by the CMS collector.
+  // only used by the CMS collector.  should_unload_classes is
+  // used to aid assertion checking when classes are collected.
   void preclean_discovered_references(BoolObjectClosure* is_alive,
                                       OopClosure*        keep_alive,
                                       VoidClosure*       complete_gc,
-                                      YieldClosure*      yield);
+                                      YieldClosure*      yield,
+                                      bool               should_unload_classes);
 
   // Delete entries in the discovered lists that have
   // either a null referent or are not active. Such