< prev index next >

src/share/vm/gc/serial/defNewGeneration.hpp

Print this page
rev 8393 : 8077842: Remove the level parameter passed around in GenCollectedHeap
Reviewed-by:

*** 152,162 **** return n > alignment ? align_size_down(n, alignment) : alignment; } public: // was "protected" but caused compile error on win32 class IsAliveClosure: public BoolObjectClosure { ! Generation* _g; public: IsAliveClosure(Generation* g); bool do_object_b(oop p); }; --- 152,162 ---- return n > alignment ? align_size_down(n, alignment) : alignment; } public: // was "protected" but caused compile error on win32 class IsAliveClosure: public BoolObjectClosure { ! Generation* _gen; public: IsAliveClosure(Generation* g); bool do_object_b(oop p); };
*** 181,215 **** virtual void do_oop(narrowOop* p); }; class EvacuateFollowersClosure: public VoidClosure { GenCollectedHeap* _gch; - int _level; ScanClosure* _scan_cur_or_nonheap; ScanClosure* _scan_older; public: ! EvacuateFollowersClosure(GenCollectedHeap* gch, int level, ScanClosure* cur, ScanClosure* older); void do_void(); }; class FastEvacuateFollowersClosure: public VoidClosure { GenCollectedHeap* _gch; - int _level; DefNewGeneration* _gen; FastScanClosure* _scan_cur_or_nonheap; FastScanClosure* _scan_older; public: ! FastEvacuateFollowersClosure(GenCollectedHeap* gch, int level, ! DefNewGeneration* gen, FastScanClosure* cur, FastScanClosure* older); void do_void(); }; public: ! DefNewGeneration(ReservedSpace rs, size_t initial_byte_size, int level, const char* policy="Copy"); virtual void ref_processor_init(); virtual Generation::Name kind() { return Generation::DefNew; } --- 181,212 ---- virtual void do_oop(narrowOop* p); }; class EvacuateFollowersClosure: public VoidClosure { GenCollectedHeap* _gch; ScanClosure* _scan_cur_or_nonheap; ScanClosure* _scan_older; public: ! EvacuateFollowersClosure(GenCollectedHeap* gch, ScanClosure* cur, ScanClosure* older); void do_void(); }; class FastEvacuateFollowersClosure: public VoidClosure { GenCollectedHeap* _gch; DefNewGeneration* _gen; FastScanClosure* _scan_cur_or_nonheap; FastScanClosure* _scan_older; public: ! FastEvacuateFollowersClosure(GenCollectedHeap* gch, FastScanClosure* cur, FastScanClosure* older); void do_void(); }; public: ! DefNewGeneration(ReservedSpace rs, size_t initial_byte_size, const char* policy="Copy"); virtual void ref_processor_init(); virtual Generation::Name kind() { return Generation::DefNew; }
< prev index next >