1.1 --- a/src/share/vm/memory/referenceProcessor.hpp Sat Jan 16 23:51:50 2010 -0800 1.2 +++ b/src/share/vm/memory/referenceProcessor.hpp Thu Jan 21 11:33:32 2010 -0800 1.3 @@ -170,11 +170,13 @@ 1.4 // The caller is responsible for taking care of potential 1.5 // interference with concurrent operations on these lists 1.6 // (or predicates involved) by other threads. Currently 1.7 - // only used by the CMS collector. 1.8 + // only used by the CMS collector. should_unload_classes is 1.9 + // used to aid assertion checking when classes are collected. 1.10 void preclean_discovered_references(BoolObjectClosure* is_alive, 1.11 OopClosure* keep_alive, 1.12 VoidClosure* complete_gc, 1.13 - YieldClosure* yield); 1.14 + YieldClosure* yield, 1.15 + bool should_unload_classes); 1.16 1.17 // Delete entries in the discovered lists that have 1.18 // either a null referent or are not active. Such