8025740: Typo. Error line for wrong ReservedCodeCacheSize value is printed twice

Remove duplicate print

Reviewed-by: kvn, twisti
This commit is contained in:
Albert Noll 2013-10-15 08:38:35 +02:00
parent 615376fb9b
commit 7d4a3ec94e

View File

@ -1957,12 +1957,6 @@ bool Arguments::check_gc_consistency() {
"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;
}