# HG changeset patch # User anoll # Date 1381819115 -7200 # Node ID 37ad7041ff83b57c4f17bd641c40a995319cf604 # Parent 47618ee96ed5847f0a69d7efb9a82ec16a2cfb04 8025740: Typo. Error line for wrong ReservedCodeCacheSize value is printed twice Summary: Remove duplicate print Reviewed-by: kvn, twisti diff -r 47618ee96ed5 -r 37ad7041ff83 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; }