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

Baesken, Matthias matthias.baesken at sap.com
Fri Nov 29 13:58:19 UTC 2019


Hi, here is a new webrev,  this time with nicer  output  (see os.cpp) .

http://cr.openjdk.java.net/~mbaesken/webrevs/8234397.3/

Best regards, Matthias


> -----Original Message-----
> From: Langer, Christoph <christoph.langer at sap.com>
> Sent: Donnerstag, 28. November 2019 11:55
> To: Baesken, Matthias <matthias.baesken at sap.com>; Schmidt, Lutz
> <lutz.schmidt at sap.com>; David Holmes <david.holmes at oracle.com>;
> 'hotspot-dev at openjdk.java.net' <hotspot-dev at openjdk.java.net>
> Subject: RE: 8234397: add OS uptime information to os::print_os_info output
> 
> Hi Matthias,
> 
> I'd like to see the uptime information in hs_err files.
> 
> I, however, would rather like to see a more readable output like "OS uptime
> 10 days 3:10". I understand that's some more formatting effort but on the
> other hand you'd not need floating point calculations.
> 
> As for os_windows.cpp: Why don't you spend a
> os::win32::print_uptime_info(st); method to align with the other
> implementations?
> 
> Best regards
> Christoph



More information about the hotspot-dev mailing list