hotspot/src/share/vm/gc/g1/heapRegion.cpp
changeset 35908 cb12f847b199
parent 35507 aa2affc60a2f
child 36090 cffc1dd98258
--- a/hotspot/src/share/vm/gc/g1/heapRegion.cpp	Tue Feb 02 10:50:08 2016 +0100
+++ b/hotspot/src/share/vm/gc/g1/heapRegion.cpp	Tue Feb 02 12:12:17 2016 +0100
@@ -143,6 +143,7 @@
   // The cast to int is safe, given that we've bounded region_size by
   // MIN_REGION_SIZE and MAX_REGION_SIZE.
   GrainBytes = region_size;
+  log_info(gc, heap)("Heap region size: " SIZE_FORMAT "M", GrainBytes / M);
 
   guarantee(GrainWords == 0, "we should only set it once");
   GrainWords = GrainBytes >> LogHeapWordSize;