< prev index next >

src/hotspot/share/gc/parallel/parallelScavengeHeap.hpp

8221260: Initialize more class members on construction, remove some unused ones
Reviewed-by:

*** 91,101 **** inline void death_march_check(HeapWord* const result, size_t size); HeapWord* mem_allocate_old_gen(size_t size); public: ParallelScavengeHeap(GenerationSizer* policy) : ! CollectedHeap(), _collector_policy(policy), _death_march_count(0) { } // For use by VM operations enum CollectionType { Scavenge, MarkSweep --- 91,109 ---- inline void death_march_check(HeapWord* const result, size_t size); HeapWord* mem_allocate_old_gen(size_t size); public: ParallelScavengeHeap(GenerationSizer* policy) : ! CollectedHeap(), ! _collector_policy(policy), ! _gens(NULL), ! _death_march_count(0), ! _young_manager(NULL), ! _old_manager(NULL), ! _eden_pool(NULL), ! _survivor_pool(NULL), ! _old_pool(NULL) { } // For use by VM operations enum CollectionType { Scavenge, MarkSweep
< prev index next >