8025740: Typo. Error line for wrong ReservedCodeCacheSize value is printed twice
Remove duplicate print Reviewed-by: kvn, twisti
This commit is contained in:
parent
615376fb9b
commit
7d4a3ec94e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user