comparison src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.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
comparison
equal deleted inserted replaced
17975:bd4d69d9cb7d 17976:8e20ef014b08
851 ParallelRefProcEnabled && (ParallelGCThreads > 1), // mt processing 851 ParallelRefProcEnabled && (ParallelGCThreads > 1), // mt processing
852 (int) ParallelGCThreads, // mt processing degree 852 (int) ParallelGCThreads, // mt processing degree
853 true, // mt discovery 853 true, // mt discovery
854 (int) ParallelGCThreads, // mt discovery degree 854 (int) ParallelGCThreads, // mt discovery degree
855 true, // atomic_discovery 855 true, // atomic_discovery
856 &_is_alive_closure, // non-header is alive closure 856 &_is_alive_closure); // non-header is alive closure
857 false); // write barrier for next field updates
858 _counters = new CollectorCounters("PSParallelCompact", 1); 857 _counters = new CollectorCounters("PSParallelCompact", 1);
859 858
860 // Initialize static fields in ParCompactionManager. 859 // Initialize static fields in ParCompactionManager.
861 ParCompactionManager::initialize(mark_bitmap()); 860 ParCompactionManager::initialize(mark_bitmap());
862 } 861 }