Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.cpp @ 10327:001ec9515f84
8014277: Remove ObjectClosure as base class for BoolObjectClosure
Reviewed-by: brutisso, tschatzl
author | ehelin |
---|---|
date | Fri, 17 May 2013 11:57:05 +0200 |
parents | eba99d16dc6f |
children | 14d3f71f831d |
comparison
equal
deleted
inserted
replaced
10292:acac2b03a07f | 10327:001ec9515f84 |
---|---|
578 } | 578 } |
579 | 579 |
580 // This should be moved to the shared markSweep code! | 580 // This should be moved to the shared markSweep code! |
581 class PSAlwaysTrueClosure: public BoolObjectClosure { | 581 class PSAlwaysTrueClosure: public BoolObjectClosure { |
582 public: | 582 public: |
583 void do_object(oop p) { ShouldNotReachHere(); } | |
584 bool do_object_b(oop p) { return true; } | 583 bool do_object_b(oop p) { return true; } |
585 }; | 584 }; |
586 static PSAlwaysTrueClosure always_true; | 585 static PSAlwaysTrueClosure always_true; |
587 | 586 |
588 void PSMarkSweep::mark_sweep_phase3() { | 587 void PSMarkSweep::mark_sweep_phase3() { |