Mercurial > hg > truffle
comparison src/share/vm/services/management.cpp @ 1064:473cce303f13
6887571: Increase default heap config sizes
Summary: Apply modification of existing server heap size ergo to all collectors except CMS.
Reviewed-by: jmasa, ysr, xlu
author | phh |
---|---|
date | Wed, 28 Oct 2009 16:25:51 -0400 |
parents | 0fbdb4381b99 |
children | ba7ea42fc66e |
comparison
equal
deleted
inserted
replaced
1035:a3b9e96881fe | 1064:473cce303f13 |
---|---|
788 // In our current implementation, all pools should have | 788 // In our current implementation, all pools should have |
789 // defined init and max size | 789 // defined init and max size |
790 assert(!has_undefined_init_size, "Undefined init size"); | 790 assert(!has_undefined_init_size, "Undefined init size"); |
791 assert(!has_undefined_max_size, "Undefined max size"); | 791 assert(!has_undefined_max_size, "Undefined max size"); |
792 | 792 |
793 MemoryUsage usage((heap ? Arguments::initial_heap_size() : total_init), | 793 MemoryUsage usage((heap ? InitialHeapSize : total_init), |
794 total_used, | 794 total_used, |
795 total_committed, | 795 total_committed, |
796 (heap ? Universe::heap()->max_capacity() : total_max)); | 796 (heap ? Universe::heap()->max_capacity() : total_max)); |
797 | 797 |
798 Handle obj = MemoryService::create_MemoryUsage_obj(usage, CHECK_NULL); | 798 Handle obj = MemoryService::create_MemoryUsage_obj(usage, CHECK_NULL); |