8025740: Typo. Error line for wrong ReservedCodeCacheSize value is printed twice
Summary: Remove duplicate print
Reviewed-by: kvn, twisti
--- 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;
}