8043239: G1: Missing post barrier in processing of j.l.ref.Reference objects

Removed all write barriers during reference processing and added explicit write barriers when iterating through the discovered list.

Reviewed-by: pliden, jmasa, tschatzl
This commit is contained in:
Bengt Rutisson 2014-06-03 10:44:36 +02:00
parent 3e5805dc08
commit 426151a22e
7 changed files with 38 additions and 96 deletions

View file

@ -1636,8 +1636,7 @@ void ParNewGeneration::ref_processor_init() {
refs_discovery_is_mt(), // mt discovery
(int) ParallelGCThreads, // mt discovery degree
refs_discovery_is_atomic(), // atomic_discovery
NULL, // is_alive_non_header
false); // write barrier for next field updates
NULL); // is_alive_non_header
}
}