8146879: Add option for handling existing log files in UL

Reviewed-by: dsamersoff, gziemski, rehn
This commit is contained in:
Marcus Larsson 2016-04-11 12:22:09 +02:00
parent 1afb9e9427
commit 8b2f63bd2b
15 changed files with 368 additions and 26 deletions

View file

@ -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];