mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 20:44:41 +02:00
8146879: Add option for handling existing log files in UL
Reviewed-by: dsamersoff, gziemski, rehn
This commit is contained in:
parent
1afb9e9427
commit
8b2f63bd2b
15 changed files with 368 additions and 26 deletions
|
@ -181,6 +181,10 @@ int os::log_vsnprintf(char* buf, size_t len, const char* fmt, va_list args) {
|
|||
return vsnprintf(buf, len, fmt, args);
|
||||
}
|
||||
|
||||
int os::fileno(FILE* fp) {
|
||||
return ::fileno(fp);
|
||||
}
|
||||
|
||||
void os::Posix::print_load_average(outputStream* st) {
|
||||
st->print("load average:");
|
||||
double loadavg[3];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue