8025740: Typo. Error line for wrong ReservedCodeCacheSize value is printed twice
authoranoll
Tue, 15 Oct 2013 08:38:35 +0200
changeset 21106 37ad7041ff83
parent 21105 47618ee96ed5
child 21107 aa84c4d14e6c
8025740: Typo. Error line for wrong ReservedCodeCacheSize value is printed twice Summary: Remove duplicate print Reviewed-by: kvn, twisti
hotspot/src/share/vm/runtime/arguments.cpp
--- a/hotspot/src/share/vm/runtime/arguments.cpp	Fri Oct 18 10:41:56 2013 +0200
+++ b/hotspot/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;
 }