src/share/vm/memory/collectorPolicy.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/memory/collectorPolicy.cpp	Sun Dec 30 08:48:18 2012
--- new/src/share/vm/memory/collectorPolicy.cpp	Sun Dec 30 08:48:17 2012

*** 825,835 **** --- 825,835 ---- void MarkSweepPolicy::initialize_generations() { _generations = new GenerationSpecPtr[number_of_generations()]; if (_generations == NULL) vm_exit_during_initialization("Unable to allocate gen spec"); - if (UseParNewGC && ParallelGCThreads > 0) { _generations[0] = new GenerationSpec(Generation::ParNew, _initial_gen0_size, _max_gen0_size); } else { _generations[0] = new GenerationSpec(Generation::DefNew, _initial_gen0_size, _max_gen0_size); } _generations[1] = new GenerationSpec(Generation::MarkSweepCompact, _initial_gen1_size, _max_gen1_size);
*** 838,849 **** --- 838,848 ---- vm_exit_during_initialization("Unable to allocate gen spec"); } void MarkSweepPolicy::initialize_gc_policy_counters() { // initialize the policy counters - 2 collectors, 3 generations - if (UseParNewGC && ParallelGCThreads > 0) { _gc_policy_counters = new GCPolicyCounters("ParNew:MSC", 2, 3); } else { + } else { _gc_policy_counters = new GCPolicyCounters("Copy:MSC", 2, 3); } }

src/share/vm/memory/collectorPolicy.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File