comparison src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp @ 798:fe1574da39fc

6848641: CMSCollector::_roots_scanning_options should be initialized Summary: The field is now initialized in the constructor. Reviewed-by: iveresov, jmasa, johnc
author ysr
date Sun, 07 Jun 2009 00:27:41 -0700
parents cea947c8a988
children 05f89f00a864 148e5441d916
comparison
equal deleted inserted replaced
797:7fd05714f579 798:fe1574da39fc
553 _verification_mark_bm(0, Mutex::leaf + 1, "CMS_verification_mark_bm_lock"), 553 _verification_mark_bm(0, Mutex::leaf + 1, "CMS_verification_mark_bm_lock"),
554 _completed_initialization(false), 554 _completed_initialization(false),
555 _collector_policy(cp), 555 _collector_policy(cp),
556 _should_unload_classes(false), 556 _should_unload_classes(false),
557 _concurrent_cycles_since_last_unload(0), 557 _concurrent_cycles_since_last_unload(0),
558 _roots_scanning_options(0),
558 _sweep_estimate(CMS_SweepWeight, CMS_SweepPadding) 559 _sweep_estimate(CMS_SweepWeight, CMS_SweepPadding)
559 { 560 {
560 if (ExplicitGCInvokesConcurrentAndUnloadsClasses) { 561 if (ExplicitGCInvokesConcurrentAndUnloadsClasses) {
561 ExplicitGCInvokesConcurrent = true; 562 ExplicitGCInvokesConcurrent = true;
562 } 563 }