Mercurial > hg > truffle
comparison src/share/vm/memory/collectorPolicy.cpp @ 1339:09ac706c2623
Merge
author | asaha |
---|---|
date | Wed, 24 Mar 2010 17:16:33 -0700 |
parents | 473cce303f13 |
children | 0bfd3fb24150 |
comparison
equal
deleted
inserted
replaced
1338:f5dd08ad65df | 1339:09ac706c2623 |
---|---|
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())); |