Mercurial > hg > jdk9-shenandoah > hotspot
changeset 9759:b2c1cf8bd981
Initialize reference processor even when ShenandoahProcessReferences is turned off -- for mark-compact collection.
author | rkennke |
---|---|
date | Thu, 01 Oct 2015 12:22:20 +0200 |
parents | daec938536a5 |
children | 42defc20a38c |
files | src/share/vm/gc/shenandoah/shenandoahHeap.cpp |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/gc/shenandoah/shenandoahHeap.cpp Wed Sep 30 22:24:07 2015 +0200 +++ b/src/share/vm/gc/shenandoah/shenandoahHeap.cpp Thu Oct 01 12:22:20 2015 +0200 @@ -310,9 +310,8 @@ } _scm->initialize(); - if (ShenandoahProcessReferences) { - ref_processing_init(); - } + ref_processing_init(); + _max_workers = MAX(_max_parallel_workers, _max_conc_workers); }