equal
deleted
inserted
replaced
103 |
103 |
104 assert(!UseAdaptiveGCBoundary || |
104 assert(!UseAdaptiveGCBoundary || |
105 (old_gen()->virtual_space()->high_boundary() == |
105 (old_gen()->virtual_space()->high_boundary() == |
106 young_gen()->virtual_space()->low_boundary()), |
106 young_gen()->virtual_space()->low_boundary()), |
107 "Boundaries must meet"); |
107 "Boundaries must meet"); |
108 // initialize the policy counters - 2 collectors, 3 generations |
108 // initialize the policy counters - 2 collectors, 2 generations |
109 _gc_policy_counters = |
109 _gc_policy_counters = |
110 new PSGCAdaptivePolicyCounters("ParScav:MSC", 2, 3, _size_policy); |
110 new PSGCAdaptivePolicyCounters("ParScav:MSC", 2, 2, _size_policy); |
111 |
111 |
112 // Set up the GCTaskManager |
112 // Set up the GCTaskManager |
113 _gc_task_manager = GCTaskManager::create(ParallelGCThreads); |
113 _gc_task_manager = GCTaskManager::create(ParallelGCThreads); |
114 |
114 |
115 if (UseParallelOldGC && !PSParallelCompact::initialize()) { |
115 if (UseParallelOldGC && !PSParallelCompact::initialize()) { |