changeset 8938:7eec02b95f9e

8134856: Incorrect use of PLAB::min_size() in MaxPLABSizeBounds Reviewed-by: jwilhelm, tbenson
author tschatzl
date Wed, 02 Sep 2015 14:00:46 +0200
parents 48b57bb45fe5
children 943f36515734
files src/share/vm/runtime/commandLineFlagConstraintsGC.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/commandLineFlagConstraintsGC.cpp	Wed Sep 02 09:57:03 2015 +0200
+++ b/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