RE: PING: RFR: 8250598: Hyper-V is detected in spite of running on host OS

2020-08-18 Thread Doerr, Martin
s[EDX] == 0x0); > >>>> } > >>>> ``` > >>>> > >>>> Also startup performance is better than WMI call. > >>>> > >>>> TotalMilliseconds : 66.7863 > >>>> TotalMilliseconds : 56.8123 > >>>

Re: PING: RFR: 8250598: Hyper-V is detected in spite of running on host OS

2020-08-17 Thread Yasumasa Suenaga
ional%20Specification%20v6.0b.pdf Best regards, Matthias -Original Message- From: Yasumasa Suenaga Sent: Donnerstag, 13. August 2020 06:15 To: David Holmes ; Baesken, Matthias ; [email protected]; [email protected] Cc: Doerr, Martin Subject: Re: PING: RFR

Re: PING: RFR: 8250598: Hyper-V is detected in spite of running on host OS

2020-08-17 Thread David Holmes
August 2020 06:15 To: David Holmes ; Baesken, Matthias ; [email protected]; [email protected] Cc: Doerr, Martin Subject: Re: PING: RFR: 8250598: Hyper-V is detected in spite of running on host OS On 2020/08/13 11:54, David Holmes wrote: On 13/08/2020 11:12 am, Ya

Re: PING: RFR: 8250598: Hyper-V is detected in spite of running on host OS

2020-08-13 Thread Yasumasa Suenaga
Matthias -Original Message- From: Yasumasa Suenaga Sent: Donnerstag, 13. August 2020 06:15 To: David Holmes ; Baesken, Matthias ; [email protected]; [email protected] Cc: Doerr, Martin Subject: Re: PING: RFR: 8250598: Hyper-V is detected in spite of runnin

Re: PING: RFR: 8250598: Hyper-V is detected in spite of running on host OS

2020-08-13 Thread David Holmes
masa Suenaga Sent: Donnerstag, 13. August 2020 06:15 To: David Holmes ; Baesken, Matthias ; [email protected]; [email protected] Cc: Doerr, Martin Subject: Re: PING: RFR: 8250598: Hyper-V is detected in spite of running on host OS On 2020/08/13 11:54, David Hol

Re: PING: RFR: 8250598: Hyper-V is detected in spite of running on host OS

2020-08-13 Thread Yasumasa Suenaga
RFR: 8250598: Hyper-V is detected in spite of running on host OS On 2020/08/13 11:54, David Holmes wrote: On 13/08/2020 11:12 am, Yasumasa Suenaga wrote: Hi Matthias, David, I measured startup benchmarks with `Measure-Command {.\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe --

RE: PING: RFR: 8250598: Hyper-V is detected in spite of running on host OS

2020-08-12 Thread Baesken, Matthias
. Best regards, Matthias -Original Message- From: Yasumasa Suenaga Sent: Donnerstag, 13. August 2020 06:15 To: David Holmes ; Baesken, Matthias ; [email protected]; [email protected] Cc: Doerr, Martin Subject: Re: PING: RFR: 8250598: Hyper-V is de

Re: PING: RFR: 8250598: Hyper-V is detected in spite of running on host OS

2020-08-12 Thread David Holmes
On 13/08/2020 2:15 pm, Yasumasa Suenaga wrote: On 2020/08/13 11:54, David Holmes wrote: On 13/08/2020 11:12 am, Yasumasa Suenaga wrote: Hi Matthias, David, I measured startup benchmarks with `Measure-Command {.\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe --version}` on Po

Re: PING: RFR: 8250598: Hyper-V is detected in spite of running on host OS

2020-08-12 Thread Yasumasa Suenaga
On 2020/08/13 11:54, David Holmes wrote: On 13/08/2020 11:12 am, Yasumasa Suenaga wrote: Hi Matthias, David, I measured startup benchmarks with `Measure-Command {.\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe --version}` on PowerShell. * PC: Ryzen 3 3300X, 16GB memory * OS

Re: PING: RFR: 8250598: Hyper-V is detected in spite of running on host OS

2020-08-12 Thread David Holmes
On 13/08/2020 11:12 am, Yasumasa Suenaga wrote: Hi Matthias, David, I measured startup benchmarks with `Measure-Command {.\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe --version}` on PowerShell. * PC: Ryzen 3 3300X, 16GB memory * OS: Windows 10 x64 (May 2020 Update) * Java

Re: PING: RFR: 8250598: Hyper-V is detected in spite of running on host OS

2020-08-12 Thread Yasumasa Suenaga
Hi Matthias, David, I measured startup benchmarks with `Measure-Command {.\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe --version}` on PowerShell. * PC: Ryzen 3 3300X, 16GB memory * OS: Windows 10 x64 (May 2020 Update) * Java: jdk/jdk revision 60537 (Compiled by VS 2019

RE: PING: RFR: 8250598: Hyper-V is detected in spite of running on host OS

2020-08-12 Thread Baesken, Matthias
>I understand that if the process runs on Xen on other hypervisor (e.g. KVM), >information for Xen would be set between 0x4100 and 0x4001. >Ok, I will not remove the loop in new webrev, and will add comment about it. Hi Yasumasa , thanks ! Regarding the WMI overhead , if you could get

RE: PING: RFR: 8250598: Hyper-V is detected in spite of running on host OS

2020-08-12 Thread Baesken, Matthias
> And on Windows, there's a __cpuid intrinsic available. (I have never tried > it.) Hi Martin, we use this intrinsic in "our" JVM so yes it works . > Nevertheless, I appreciate improvements in virtualization detection. > Sometimes, problems or crashes are related to the virtualization layer,

RE: PING: RFR: 8250598: Hyper-V is detected in spite of running on host OS

2020-08-12 Thread Doerr, Martin
> -Original Message- > From: David Holmes > Sent: Mittwoch, 12. August 2020 15:05 > To: Yasumasa Suenaga ; Baesken, Matthias > ; [email protected]; > [email protected] > Cc: Doerr, Martin > Subject: Re: PING: RFR: 8250598: Hyper-V is dete

Re: PING: RFR: 8250598: Hyper-V is detected in spite of running on host OS

2020-08-12 Thread David Holmes
Hi Yasumasa, On 12/08/2020 10:56 pm, Yasumasa Suenaga wrote: Hi Matthias, David, On 2020/08/12 21:12, David Holmes wrote: On 12/08/2020 8:51 pm, Baesken, Matthias wrote: Hi Yasumasa ,  I'm more or less fine with the change . But still not fully convinced  that removing  the iteration is a goo

Re: PING: RFR: 8250598: Hyper-V is detected in spite of running on host OS

2020-08-12 Thread Yasumasa Suenaga
Hi Matthias, David, On 2020/08/12 21:12, David Holmes wrote: On 12/08/2020 8:51 pm, Baesken, Matthias wrote: Hi Yasumasa ,  I'm more or less fine with the change . But still not fully convinced  that removing  the iteration is a good thing . http://cr.openjdk.java.net/~ysuenaga/JDK-8250598/web

Re: PING: RFR: 8250598: Hyper-V is detected in spite of running on host OS

2020-08-12 Thread David Holmes
On 12/08/2020 8:51 pm, Baesken, Matthias wrote: Hi Yasumasa , I'm more or less fine with the change . But still not fully convinced that removing the iteration is a good thing . http://cr.openjdk.java.net/~ysuenaga/JDK-8250598/webrev.01/src/hotspot/cpu/x86/vm_version_x86.cpp.frames.html 1827

RE: PING: RFR: 8250598: Hyper-V is detected in spite of running on host OS

2020-08-12 Thread Baesken, Matthias
Hi Yasumasa , I'm more or less fine with the change . But still not fully convinced that removing the iteration is a good thing . http://cr.openjdk.java.net/~ysuenaga/JDK-8250598/webrev.01/src/hotspot/cpu/x86/vm_version_x86.cpp.frames.html 1827 for (base = 0x4000; base < 0x4001; base