src/hotspot/share/memory/allocation.hpp
changeset 55745 fa337ff85b9a
parent 54927 1512d88b24c6
child 57875 427b38332f20
--- a/src/hotspot/share/memory/allocation.hpp	Thu Jul 18 14:01:54 2019 +0200
+++ b/src/hotspot/share/memory/allocation.hpp	Fri Jul 19 10:18:48 2019 +0200
@@ -507,23 +507,6 @@
 #define FREE_C_HEAP_OBJ(objname)\
   FreeHeap((char*)objname);
 
-// for statistics
-#ifndef PRODUCT
-class AllocStats : StackObj {
-  julong start_mallocs, start_frees;
-  julong start_malloc_bytes, start_mfree_bytes, start_res_bytes;
- public:
-  AllocStats();
-
-  julong num_mallocs();    // since creation of receiver
-  julong alloc_bytes();
-  julong num_frees();
-  julong free_bytes();
-  julong resource_bytes();
-  void   print();
-};
-#endif
-
 
 //------------------------------ReallocMark---------------------------------
 // Code which uses REALLOC_RESOURCE_ARRAY should check an associated