8080876: Replace unnecessary MAX2(ParallelGCThreads, 1) calls with ParallelGCThreads

Reviewed-by: kbarrett, mgerdin
This commit is contained in:
Stefan Karlsson 2015-05-22 10:58:16 +02:00
parent 21bb8edbba
commit 23b343af68
11 changed files with 21 additions and 25 deletions

View file

@ -1475,9 +1475,9 @@ void ParNewGeneration::ref_processor_init() {
_ref_processor =
new ReferenceProcessor(_reserved, // span
ParallelRefProcEnabled && (ParallelGCThreads > 1), // mt processing
(int) ParallelGCThreads, // mt processing degree
(uint) ParallelGCThreads, // mt processing degree
refs_discovery_is_mt(), // mt discovery
(int) ParallelGCThreads, // mt discovery degree
(uint) ParallelGCThreads, // mt discovery degree
refs_discovery_is_atomic(), // atomic_discovery
NULL); // is_alive_non_header
}