diff src/share/vm/services/management.cpp @ 11039:71963b3f802a

8013590: NPG: Add a memory pool MXBean for Metaspace Reviewed-by: jmasa, mgerdin
author ehelin
date Wed, 26 Jun 2013 16:58:37 +0200
parents 31a4e55f8c9d
children c01913206da5
line wrap: on
line diff
--- a/src/share/vm/services/management.cpp	Tue Jun 25 15:17:11 2013 -0700
+++ b/src/share/vm/services/management.cpp	Wed Jun 26 16:58:37 2013 +0200
@@ -894,12 +894,6 @@
     }
   }
 
-  // In our current implementation, we make sure that all non-heap
-  // pools have defined init and max sizes. Heap pools do not matter,
-  // as we never use total_init and total_max for them.
-  assert(heap || !has_undefined_init_size, "Undefined init size");
-  assert(heap || !has_undefined_max_size,  "Undefined max size");
-
   MemoryUsage usage((heap ? InitialHeapSize : total_init),
                     total_used,
                     total_committed,