changeset 48193:0fd0f31ade3e

8186480: Remove warning when AssumeMP is true and ergonomics determines to use one worker thread Reviewed-by: shade
author tschatzl
date Mon, 20 Nov 2017 10:15:34 +0100
parents a474466c4fdb
children 55c43e677ded
files src/hotspot/share/gc/shared/gcArguments.cpp
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/gc/shared/gcArguments.cpp	Sun Nov 19 23:30:41 2017 -0500
+++ b/src/hotspot/share/gc/shared/gcArguments.cpp	Mon Nov 20 10:15:34 2017 +0100
@@ -84,13 +84,6 @@
 
 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);