8283558: Parallel: Pass PSIsAliveClosure to ReferenceProcessor constructor

Reviewed-by: tschatzl, kbarrett
This commit is contained in:
Albert Mingkun Yang 2022-03-28 07:59:52 +00:00
parent 66f1da1885
commit 7f125373a7

View File

@ -758,7 +758,7 @@ void PSScavenge::initialize() {
ParallelGCThreads, // mt processing degree
ParallelGCThreads, // mt discovery degree
false, // concurrent_discovery
NULL); // header provides liveness info
&_is_alive_closure); // header provides liveness info
// Cache the cardtable
_card_table = heap->card_table();