diff src/share/vm/runtime/arguments.cpp @ 8859:0c039865ef2b

Merge
author mgerdin
date Thu, 04 Apr 2013 19:07:32 +0200
parents 15c04fe93c18 c0f9217203b2
children b9a918201d47 8be1318fbe77 68fe50d4f1d5
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp	Wed Apr 03 09:19:02 2013 +0200
+++ b/src/share/vm/runtime/arguments.cpp	Thu Apr 04 19:07:32 2013 +0200
@@ -3327,6 +3327,13 @@
   }
   check_deprecated_gcs();
   check_deprecated_gc_flags();
+  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");
+    }
+  }
 #else // INCLUDE_ALL_GCS
   assert(verify_serial_gc_flags(), "SerialGC unset");
 #endif // INCLUDE_ALL_GCS