mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 18:44:38 +02:00
8153074: UL: Show output option in VM.log jcmd
Reviewed-by: dholmes, mlarsson
This commit is contained in:
parent
2cede6dbc1
commit
c02ce6ab61
5 changed files with 30 additions and 11 deletions
|
@ -428,3 +428,13 @@ char* LogFileOutput::make_file_name(const char* file_name,
|
|||
result[result_len] = '\0';
|
||||
return result;
|
||||
}
|
||||
|
||||
void LogFileOutput::describe(outputStream *out) {
|
||||
LogOutput::describe(out);
|
||||
out->print(" ");
|
||||
|
||||
out->print("filecount=%u,filesize=" SIZE_FORMAT "%s", _file_count,
|
||||
byte_size_in_proper_unit(_rotate_size),
|
||||
proper_unit_for_byte_size(_rotate_size));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue