src/share/vm/runtime/arguments.cpp

changeset 4859
0c039865ef2b
parent 4858
15c04fe93c18
parent 4847
c0f9217203b2
child 4891
8be1318fbe77
child 4899
68fe50d4f1d5
     1.1 --- a/src/share/vm/runtime/arguments.cpp	Wed Apr 03 09:19:02 2013 +0200
     1.2 +++ b/src/share/vm/runtime/arguments.cpp	Thu Apr 04 19:07:32 2013 +0200
     1.3 @@ -3327,6 +3327,13 @@
     1.4    }
     1.5    check_deprecated_gcs();
     1.6    check_deprecated_gc_flags();
     1.7 +  if (AssumeMP && !UseSerialGC) {
     1.8 +    if (FLAG_IS_DEFAULT(ParallelGCThreads) && ParallelGCThreads == 1) {
     1.9 +      warning("If the number of processors is expected to increase from one, then"
    1.10 +              " you should configure the number of parallel GC threads appropriately"
    1.11 +              " using -XX:ParallelGCThreads=N");
    1.12 +    }
    1.13 +  }
    1.14  #else // INCLUDE_ALL_GCS
    1.15    assert(verify_serial_gc_flags(), "SerialGC unset");
    1.16  #endif // INCLUDE_ALL_GCS

mercurial