7045232: G1: pool names are inconsistent with other collectors (don't have 'Space')
authortonyp
Wed, 21 Sep 2011 01:27:20 -0400
changeset 10665 f9e21413c65a
parent 10664 702062c83bd7
child 10666 1fd33ec0e5f7
7045232: G1: pool names are inconsistent with other collectors (don't have 'Space') Summary: Make sure the eden and survivor pools have "Space" in their name. Reviewed-by: jmasa, ysr
hotspot/src/share/vm/services/g1MemoryPool.cpp
--- a/hotspot/src/share/vm/services/g1MemoryPool.cpp	Tue Sep 20 15:39:17 2011 -0700
+++ b/hotspot/src/share/vm/services/g1MemoryPool.cpp	Wed Sep 21 01:27:20 2011 -0400
@@ -73,7 +73,7 @@
 
 G1EdenPool::G1EdenPool(G1CollectedHeap* g1h) :
   G1MemoryPoolSuper(g1h,
-                    "G1 Eden",
+                    "G1 Eden Space",
                     eden_space_committed(g1h), /* init_size */
                     false /* support_usage_threshold */) { }
 
@@ -88,7 +88,7 @@
 
 G1SurvivorPool::G1SurvivorPool(G1CollectedHeap* g1h) :
   G1MemoryPoolSuper(g1h,
-                    "G1 Survivor",
+                    "G1 Survivor Space",
                     survivor_space_committed(g1h), /* init_size */
                     false /* support_usage_threshold */) { }