Mercurial > hg > graal-compiler
comparison src/share/vm/memory/collectorPolicy.hpp @ 13066:236cecd9ec97
8028093: Initial young size is smaller than minimum young size
Summary: Remove min_gen1_size argument from adjust_gen0_sizes()
Reviewed-by: tschatzl, brutisso
author | jwilhelm |
---|---|
date | Mon, 11 Nov 2013 13:50:10 +0100 |
parents | 8f07aa079343 |
children | 63a4eb8bcd23 1d01a7f3a336 |
comparison
equal
deleted
inserted
replaced
13065:3ad2b68d107e | 13066:236cecd9ec97 |
---|---|
334 | 334 |
335 virtual CollectorPolicy::Name kind() { | 335 virtual CollectorPolicy::Name kind() { |
336 return CollectorPolicy::TwoGenerationCollectorPolicyKind; | 336 return CollectorPolicy::TwoGenerationCollectorPolicyKind; |
337 } | 337 } |
338 | 338 |
339 // Returns true is gen0 sizes were adjusted | 339 // Returns true if gen0 sizes were adjusted |
340 bool adjust_gen0_sizes(size_t* gen0_size_ptr, size_t* gen1_size_ptr, | 340 bool adjust_gen0_sizes(size_t* gen0_size_ptr, size_t* gen1_size_ptr, |
341 const size_t heap_size, const size_t min_gen1_size); | 341 const size_t heap_size); |
342 }; | 342 }; |
343 | 343 |
344 class MarkSweepPolicy : public TwoGenerationCollectorPolicy { | 344 class MarkSweepPolicy : public TwoGenerationCollectorPolicy { |
345 protected: | 345 protected: |
346 void initialize_alignments(); | 346 void initialize_alignments(); |