src/hotspot/share/gc/shared/generationCounters.hpp
changeset 48115 d8ec0640616c
parent 47216 71c04702a3d5
child 51332 c25572739e7c
--- a/src/hotspot/share/gc/shared/generationCounters.hpp	Fri Nov 24 15:21:28 2017 +0100
+++ b/src/hotspot/share/gc/shared/generationCounters.hpp	Fri Nov 24 15:21:30 2017 +0100
@@ -68,9 +68,7 @@
   GenerationCounters(const char* name, int ordinal, int spaces,
                      size_t min_capacity, size_t max_capacity, VirtualSpace* v);
 
-  ~GenerationCounters() {
-    if (_name_space != NULL) FREE_C_HEAP_ARRAY(char, _name_space);
-  }
+  ~GenerationCounters();
 
   virtual void update_all();