6848641: CMSCollector::_roots_scanning_options should be initialized

The field is now initialized in the constructor.

Reviewed-by: iveresov, jmasa, johnc
This commit is contained in:
Y. Srinivas Ramakrishna 2009-06-07 00:27:41 -07:00
parent a720198e39
commit 9611174798
2 changed files with 6 additions and 5 deletions

View file

@ -555,6 +555,7 @@ CMSCollector::CMSCollector(ConcurrentMarkSweepGeneration* cmsGen,
_collector_policy(cp),
_should_unload_classes(false),
_concurrent_cycles_since_last_unload(0),
_roots_scanning_options(0),
_sweep_estimate(CMS_SweepWeight, CMS_SweepPadding)
{
if (ExplicitGCInvokesConcurrentAndUnloadsClasses) {