ParallelScavenge 用の CollectorPolicy クラス.
(TwoGenerationCollectorPolicy クラスの具象サブクラスの1つ (See: here for details))
((cite: hotspot/src/share/vm/gc_implementation/parallelScavenge/generationSizer.hpp))
// There is a nice batch of tested generation sizing code in
// TwoGenerationCollectorPolicy. Lets reuse it!
class GenerationSizer : public TwoGenerationCollectorPolicy {
ParallelScavengeHeap クラスの _collector_policy フィールドに(のみ)格納されている.
((cite: hotspot/src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.hpp))
class ParallelScavengeHeap : public CollectedHeap {
...
GenerationSizer* _collector_policy;
ParallelScavengeHeap::initialize() 内で(のみ)生成されている.
See: here for details
See: here for details
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.