8166117: Add UTC timestamp decorator for UL

Reviewed-by: rehn, rprotacio
This commit is contained in:
Marcus Larsson 2016-10-21 10:18:11 +02:00
parent a4cfffae9b
commit 8641d21c56
8 changed files with 87 additions and 11 deletions

View file

@ -188,6 +188,10 @@ int os::get_fileno(FILE* fp) {
return NOT_AIX(::)fileno(fp);
}
struct tm* os::gmtime_pd(const time_t* clock, struct tm* res) {
return gmtime_r(clock, res);
}
void os::Posix::print_load_average(outputStream* st) {
st->print("load average:");
double loadavg[3];