comparison src/share/vm/runtime/arguments.cpp @ 12973:68f07c29521b

8025740: Typo. Error line for wrong ReservedCodeCacheSize value is printed twice Summary: Remove duplicate print Reviewed-by: kvn, twisti
author anoll
date Tue, 15 Oct 2013 08:38:35 +0200
parents b2ee5dc63353
children f7d928a3181c
comparison
equal deleted inserted replaced
12972:59e8ad757e19 12973:68f07c29521b
1955 jio_fprintf(defaultStream::error_stream(), 1955 jio_fprintf(defaultStream::error_stream(),
1956 "Conflicting collector combinations in option list; " 1956 "Conflicting collector combinations in option list; "
1957 "please refer to the release notes for the combinations " 1957 "please refer to the release notes for the combinations "
1958 "allowed\n"); 1958 "allowed\n");
1959 status = false; 1959 status = false;
1960 } else if (ReservedCodeCacheSize > 2*G) {
1961 // Code cache size larger than MAXINT is not supported.
1962 jio_fprintf(defaultStream::error_stream(),
1963 "Invalid ReservedCodeCacheSize=%dM. Must be at most %uM.\n", ReservedCodeCacheSize/M,
1964 (2*G)/M);
1965 status = false;
1966 } 1960 }
1967 return status; 1961 return status;
1968 } 1962 }
1969 1963
1970 void Arguments::check_deprecated_gcs() { 1964 void Arguments::check_deprecated_gcs() {