changeset 5685:68f07c29521b

8025740: Typo. Error line for wrong ReservedCodeCacheSize value is printed twice Summary: Remove duplicate print Reviewed-by: kvn, twisti
author anoll
date Tue, 15 Oct 2013 08:38:35 +0200
parents 59e8ad757e19
children d95eca175eff
files src/share/vm/runtime/arguments.cpp
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp	Fri Oct 18 10:41:56 2013 +0200
+++ b/src/share/vm/runtime/arguments.cpp	Tue Oct 15 08:38:35 2013 +0200
@@ -1957,12 +1957,6 @@
                 "please refer to the release notes for the combinations "
                 "allowed\n");
     status = false;
-  } else if (ReservedCodeCacheSize > 2*G) {
-    // Code cache size larger than MAXINT is not supported.
-    jio_fprintf(defaultStream::error_stream(),
-                "Invalid ReservedCodeCacheSize=%dM. Must be at most %uM.\n", ReservedCodeCacheSize/M,
-                (2*G)/M);
-    status = false;
   }
   return status;
 }