https://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2020-July/040833
When I got hs_err log on Windows, I saw "HyperV virtualization detected" in it in spite of running on host OS.
Hypervisor detector has been introduced in JDK-8219241, but it has some problems as below:
- Hyper-V is detected on Windows in spite of running on host OS
- Call CPUID with other than EAX = 40000000h (it is not described in the spec [1])
- Does not check CPUID hypervisor present bit [1]
- Does not support x86 (32bit) platform
[1] https://kb.vmware.com/s/article/1009458