changeset 5112:d29bba282b08

8042250: Misleading command line output for ReservedCodeCacheSize validation Reviewed-by: kvn
author kevinw
date Tue, 06 May 2014 16:15:00 +0100
parents b8ea0f9459e4
children 80218f5d83ec 56d83034446b
files src/share/vm/runtime/arguments.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp	Wed Apr 30 15:00:06 2014 -0700
+++ b/src/share/vm/runtime/arguments.cpp	Tue May 06 16:15:00 2014 +0100
@@ -2437,7 +2437,7 @@
                                             (size_t)InitialCodeCacheSize);
       if (errcode != arg_in_range) {
         jio_fprintf(defaultStream::error_stream(),
-                    "Invalid maximum code cache size: %s. Should be greater than InitialCodeCacheSize=%dK\n",
+                    "Invalid maximum code cache size: %s. Should be greater than or equal to InitialCodeCacheSize=%dK\n",
                     option->optionString, InitialCodeCacheSize/K);
         describe_range_error(errcode);
         return JNI_EINVAL;