8234397: add OS uptime information to os::print_os_info output

Reviewed-by: clanger, dholmes, lucy
This commit is contained in:
Matthias Baesken 2019-12-03 15:17:59 +01:00
parent f67111067e
commit 14391e8046
12 changed files with 78 additions and 0 deletions

View file

@ -632,6 +632,9 @@ class os: AllStatic {
static void print_date_and_time(outputStream* st, char* buf, size_t buflen);
static void print_instructions(outputStream* st, address pc, int unitsize);
// helper for output of seconds in days , hours and months
static void print_dhm(outputStream* st, const char* startStr, long sec);
static void print_location(outputStream* st, intptr_t x, bool verbose = false);
static size_t lasterror(char *buf, size_t len);
static int get_last_error();