< prev index next >

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

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

*** 48,67 **** void request_old_gen_expansion(size_t desired_change_in_bytes); // Move boundary down to expand young gen. bool request_young_gen_expansion(size_t desired_change_in_bytes); protected: // The young generation and old generation, respectively PSYoungGen* _young_gen; PSOldGen* _old_gen; // The spaces used by the two generations. AdjoiningVirtualSpaces* _virtual_spaces; public: AdjoiningGenerations(ReservedSpace rs, GenerationSizer* policy, size_t alignment); - AdjoiningGenerations(); // Accessors PSYoungGen* young_gen() { return _young_gen; } PSOldGen* old_gen() { return _old_gen; } --- 48,67 ---- void request_old_gen_expansion(size_t desired_change_in_bytes); // Move boundary down to expand young gen. bool request_young_gen_expansion(size_t desired_change_in_bytes); protected: + AdjoiningGenerations(); // The young generation and old generation, respectively PSYoungGen* _young_gen; PSOldGen* _old_gen; // The spaces used by the two generations. AdjoiningVirtualSpaces* _virtual_spaces; public: AdjoiningGenerations(ReservedSpace rs, GenerationSizer* policy, size_t alignment); // Accessors PSYoungGen* young_gen() { return _young_gen; } PSOldGen* old_gen() { return _old_gen; }
< prev index next >