--- a/hotspot/src/share/vm/services/management.cpp Tue Jun 25 15:17:11 2013 -0700
+++ b/hotspot/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,