< prev index next >

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

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

*** 50,61 **** size_t word_len); public: PSMarkSweepDecorator(MutableSpace* space, ObjectStartArray* start_array, size_t allowed_dead_ratio) : ! _space(space), _start_array(start_array), ! _allowed_dead_ratio(allowed_dead_ratio) { } // During a compacting collection, we need to collapse objects into // spaces in a given order. We want to fill space A, space B, and so // on. The code that controls that order is in the following methods. static void set_destination_decorator_tenured(); --- 50,65 ---- size_t word_len); public: PSMarkSweepDecorator(MutableSpace* space, ObjectStartArray* start_array, size_t allowed_dead_ratio) : ! _space(space), ! _start_array(start_array), ! _first_dead(NULL), ! _end_of_live(NULL), ! _compaction_top(NULL), ! _allowed_dead_ratio(allowed_dead_ratio){ } // During a compacting collection, we need to collapse objects into // spaces in a given order. We want to fill space A, space B, and so // on. The code that controls that order is in the following methods. static void set_destination_decorator_tenured();
< prev index next >