Mercurial > hg > graal-compiler
diff src/share/vm/memory/referenceProcessor.hpp @ 1190:4788266644c1
6895236: CMS: cmsOopClosures.inline.hpp:43 assert(..., "Should remember klasses in this context")
Summary: Adjust assertion checking for ExplicitGCInvokesConcurrentAndUnloadsClasses as a reason for class unloading
Reviewed-by: ysr
author | jmasa |
---|---|
date | Thu, 21 Jan 2010 11:33:32 -0800 |
parents | 27a80744a83b |
children | 745c853ee57f |
line wrap: on
line diff
--- a/src/share/vm/memory/referenceProcessor.hpp Sat Jan 16 23:51:50 2010 -0800 +++ b/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