comparison src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp @ 17976:8e20ef014b08

8043239: G1: Missing post barrier in processing of j.l.ref.Reference objects Summary: Removed all write barriers during reference processing and added explicit write barriers when iterating through the discovered list. Reviewed-by: pliden, jmasa, tschatzl
author brutisso
date Wed, 11 Jun 2014 10:46:47 +0200
parents 78bbf4d43a14
children 52b4284cb496 0982ec23da03 060cdf93040c
comparison
equal deleted inserted replaced
17975:bd4d69d9cb7d 17976:8e20ef014b08
308 (ParallelGCThreads > 1) && ParallelRefProcEnabled, // mt processing 308 (ParallelGCThreads > 1) && ParallelRefProcEnabled, // mt processing
309 (int) ParallelGCThreads, // mt processing degree 309 (int) ParallelGCThreads, // mt processing degree
310 _cmsGen->refs_discovery_is_mt(), // mt discovery 310 _cmsGen->refs_discovery_is_mt(), // mt discovery
311 (int) MAX2(ConcGCThreads, ParallelGCThreads), // mt discovery degree 311 (int) MAX2(ConcGCThreads, ParallelGCThreads), // mt discovery degree
312 _cmsGen->refs_discovery_is_atomic(), // discovery is not atomic 312 _cmsGen->refs_discovery_is_atomic(), // discovery is not atomic
313 &_is_alive_closure, // closure for liveness info 313 &_is_alive_closure); // closure for liveness info
314 false); // next field updates do not need write barrier
315 // Initialize the _ref_processor field of CMSGen 314 // Initialize the _ref_processor field of CMSGen
316 _cmsGen->set_ref_processor(_ref_processor); 315 _cmsGen->set_ref_processor(_ref_processor);
317 316
318 } 317 }
319 } 318 }