RFR: 8262500: HostName entry in VM.info should be a new line

Yasumasa Suenaga ysuenaga at openjdk.java.net
Sun Feb 28 15:05:38 UTC 2021


On Sun, 28 Feb 2021 14:28:12 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:

>> We can get host name from VM.info dcmd (and also hs_err log) on fastdebug build as below. It affects (fast)debug build for Windows only.
>> 
>> --------------- S Y S T E M ---------------
>> 
>> HostName: Xelvis OS:
>>  Windows 10 , 64 bit Build 19041 (10.0.19041.804)
>> OS uptime: 1 days 1:33 hours
>> Hyper-V role detected
>> 
>> `OS` label is available within HostName entry. It should be in a new line.
>> 
>> After this change, we can get VM.info output as below:
>> 
>> ---------------  S Y S T E M  ---------------
>> 
>> HostName: Xelvis
>> OS:
>>  Windows 10 , 64 bit Build 19041 (10.0.19041.804)
>> OS uptime: 1 days 1:44 hours
>> Hyper-V role detected
>
> Why is the "OS:" label not on the same line as the OS information?
> (Existing bug, but I'm curious.)
> 
> Something like this:
> 
> OS: Windows 10 , 64 bit Build 19041 (10.0.19041.804)

Thanks @dcubed-ojdk !

> Why is the "OS:" label not on the same line as the OS information?
> (Existing bug, but I'm curious.)
> 
> Something like this:
> 
> OS: Windows 10 , 64 bit Build 19041 (10.0.19041.804)

I don't know the reason, but I agree with you OS label and information should be in same line.
May I file it to JBS and fix?

-------------

PR: https://git.openjdk.java.net/jdk/pull/2763


More information about the hotspot-runtime-dev mailing list