src/hotspot/share/services/memoryManager.cpp
changeset 58083 9046db64ca39
parent 54623 1126f0607c70
child 58375 a1eba2e37671
--- a/src/hotspot/share/services/memoryManager.cpp	Wed Sep 11 10:19:09 2019 +0200
+++ b/src/hotspot/share/services/memoryManager.cpp	Wed Sep 11 14:16:27 2019 +0200
@@ -143,8 +143,8 @@
 
 GCStatInfo::GCStatInfo(int num_pools) {
   // initialize the arrays for memory usage
-  _before_gc_usage_array = (MemoryUsage*) NEW_C_HEAP_ARRAY(MemoryUsage, num_pools, mtInternal);
-  _after_gc_usage_array  = (MemoryUsage*) NEW_C_HEAP_ARRAY(MemoryUsage, num_pools, mtInternal);
+  _before_gc_usage_array = NEW_C_HEAP_ARRAY(MemoryUsage, num_pools, mtInternal);
+  _after_gc_usage_array  = NEW_C_HEAP_ARRAY(MemoryUsage, num_pools, mtInternal);
   _usage_array_size = num_pools;
   clear();
 }