# HG changeset patch # User tschatzl # Date 1441195246 -7200 # Node ID bf513f9f3fb971e5db35a32d96529df14dae73c0 # Parent e121ff3775dae7462286c026b3589c634d25d038 8134856: Incorrect use of PLAB::min_size() in MaxPLABSizeBounds Reviewed-by: jwilhelm, tbenson diff -r e121ff3775da -r bf513f9f3fb9 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