comparison src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp @ 20257:7426d8d76305

8034761: Remove the do_code_roots parameter from process_strong_roots Reviewed-by: tschatzl, mgerdin, jmasa
author stefank
date Thu, 13 Feb 2014 17:44:39 +0100
parents ca9dedeebdec
children 30c99d8e0f02
comparison
equal deleted inserted replaced
20256:b0b97602393a 20257:7426d8d76305
1380 }; 1380 };
1381 1381
1382 // 1382 //
1383 // Closures of various sorts used by CMS to accomplish its work 1383 // Closures of various sorts used by CMS to accomplish its work
1384 // 1384 //
1385
1386 // This closure is used to check that a certain set of oops is empty.
1387 class FalseClosure: public OopClosure {
1388 public:
1389 void do_oop(oop* p) { guarantee(false, "Should be an empty set"); }
1390 void do_oop(narrowOop* p) { guarantee(false, "Should be an empty set"); }
1391 };
1392 1385
1393 // This closure is used to do concurrent marking from the roots 1386 // This closure is used to do concurrent marking from the roots
1394 // following the first checkpoint. 1387 // following the first checkpoint.
1395 class MarkFromRootsClosure: public BitMapClosure { 1388 class MarkFromRootsClosure: public BitMapClosure {
1396 CMSCollector* _collector; 1389 CMSCollector* _collector;