From 341c2c1956fb8de00db366feb704d0707f00dafe Mon Sep 17 00:00:00 2001 From: Thomas Schatzl Date: Mon, 20 Nov 2017 10:15:34 +0100 Subject: [PATCH] 8186480: Remove warning when AssumeMP is true and ergonomics determines to use one worker thread Reviewed-by: shade --- src/hotspot/share/gc/shared/gcArguments.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/hotspot/share/gc/shared/gcArguments.cpp b/src/hotspot/share/gc/shared/gcArguments.cpp index 0a5fec35ae7..c8ccd1d8eb1 100644 --- a/src/hotspot/share/gc/shared/gcArguments.cpp +++ b/src/hotspot/share/gc/shared/gcArguments.cpp @@ -84,13 +84,6 @@ void GCArguments::select_gc_ergonomically() { void GCArguments::initialize_flags() { #if INCLUDE_ALL_GCS - if (AssumeMP && !UseSerialGC) { - if (FLAG_IS_DEFAULT(ParallelGCThreads) && ParallelGCThreads == 1) { - warning("If the number of processors is expected to increase from one, then" - " you should configure the number of parallel GC threads appropriately" - " using -XX:ParallelGCThreads=N"); - } - } if (MinHeapFreeRatio == 100) { // Keeping the heap 100% free is hard ;-) so limit it to 99%. FLAG_SET_ERGO(uintx, MinHeapFreeRatio, 99);