--- old/src/hotspot/share/gc/parallel/psOldGen.hpp 2020-01-17 11:02:01.190930494 +0100 +++ new/src/hotspot/share/gc/parallel/psOldGen.hpp 2020-01-17 11:02:00.830918993 +0100 @@ -44,8 +44,6 @@ ObjectStartArray _start_array; // Keeps track of where objects start in a 512b block MutableSpace* _object_space; // Where all the objects live - const char* const _name; // Name of this generation. - // Performance Counters PSGenerationCounters* _gen_counters; SpaceCounters* _space_counters; @@ -55,9 +53,6 @@ const size_t _min_gen_size; const size_t _max_gen_size; - // Used when initializing the _name field. - static inline const char* old_gen_name(); - #ifdef ASSERT void assert_block_in_covered_region(MemRegion new_memregion) { // Explictly capture current covered_region in a local @@ -201,7 +196,7 @@ void update_counters(); // Printing support - virtual const char* name() const { return _name; } + virtual const char* name() const { return "ParOldGen"; } // Debugging support // Save the tops of all spaces for later use during mangling.