Mercurial > hg > truffle
comparison src/share/vm/memory/collectorPolicy.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 | 1ee8caae33af |
children | 0bfd3fb24150 |
comparison
equal
deleted
inserted
replaced
1035:a3b9e96881fe | 1064:473cce303f13 |
---|---|
53 } | 53 } |
54 } | 54 } |
55 | 55 |
56 void CollectorPolicy::initialize_size_info() { | 56 void CollectorPolicy::initialize_size_info() { |
57 // User inputs from -mx and ms are aligned | 57 // User inputs from -mx and ms are aligned |
58 set_initial_heap_byte_size(Arguments::initial_heap_size()); | 58 set_initial_heap_byte_size(InitialHeapSize); |
59 if (initial_heap_byte_size() == 0) { | 59 if (initial_heap_byte_size() == 0) { |
60 set_initial_heap_byte_size(NewSize + OldSize); | 60 set_initial_heap_byte_size(NewSize + OldSize); |
61 } | 61 } |
62 set_initial_heap_byte_size(align_size_up(_initial_heap_byte_size, | 62 set_initial_heap_byte_size(align_size_up(_initial_heap_byte_size, |
63 min_alignment())); | 63 min_alignment())); |