8134856: Incorrect use of PLAB::min_size() in MaxPLABSizeBounds
authortschatzl
Wed, 02 Sep 2015 14:00:46 +0200
changeset 32610 bf513f9f3fb9
parent 32609 e121ff3775da
child 32611 2d2320f70842
8134856: Incorrect use of PLAB::min_size() in MaxPLABSizeBounds Reviewed-by: jwilhelm, tbenson
hotspot/src/share/vm/runtime/commandLineFlagConstraintsGC.cpp
--- a/hotspot/src/share/vm/runtime/commandLineFlagConstraintsGC.cpp	Wed Sep 02 09:57:03 2015 +0200
+++ b/hotspot/src/share/vm/runtime/commandLineFlagConstraintsGC.cpp	Wed Sep 02 14:00:46 2015 +0200
@@ -121,7 +121,7 @@
     CommandLineError::print(verbose,
                             "%s (" SIZE_FORMAT ") must be "
                             "less than or equal to ergonomic PLAB maximum size (" SIZE_FORMAT ")\n",
-                            name, value, PLAB::min_size());
+                            name, value, PLAB::max_size());
     return Flag::VIOLATES_CONSTRAINT;
   }
 #endif // INCLUDE_ALL_GCS