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

@ -35,7 +35,7 @@ ConcurrentG1Refine::ConcurrentG1Refine(G1CollectedHeap* g1h, CardTableEntryClosu
{
// Ergonomically select initial concurrent refinement parameters
if (FLAG_IS_DEFAULT(G1ConcRefinementGreenZone)) {
FLAG_SET_DEFAULT(G1ConcRefinementGreenZone, MAX2<int>(ParallelGCThreads, 1));
FLAG_SET_DEFAULT(G1ConcRefinementGreenZone, (intx)ParallelGCThreads);
}
set_green_zone(G1ConcRefinementGreenZone);