< prev index next >

src/share/vm/logging/logFileOutput.cpp

Print this page

        

*** 189,199 **** } else if (strcmp(FileSizeOptionKey, key) == 0) { julong value; success = Arguments::atojulong(value_str, &value); if (!success || (value > SIZE_MAX)) { errstream->print_cr("Invalid option: %s must be in range [0, " ! SIZE_FORMAT "]", FileSizeOptionKey, SIZE_MAX); success = false; break; } _rotate_size = static_cast<size_t>(value); } else { --- 189,199 ---- } else if (strcmp(FileSizeOptionKey, key) == 0) { julong value; success = Arguments::atojulong(value_str, &value); if (!success || (value > SIZE_MAX)) { errstream->print_cr("Invalid option: %s must be in range [0, " ! SIZE_FORMAT "]", FileSizeOptionKey, (size_t)SIZE_MAX); success = false; break; } _rotate_size = static_cast<size_t>(value); } else {
*** 434,439 **** out->print("filecount=%u,filesize=" SIZE_FORMAT "%s", _file_count, byte_size_in_proper_unit(_rotate_size), proper_unit_for_byte_size(_rotate_size)); } - --- 434,438 ----
< prev index next >