RFR: JDK-8301050: Detect Xen Virtualization on Linux aarch64 [v2]

Matthias Baesken mbaesken at openjdk.org
Wed Feb 1 13:12:55 UTC 2023


On Wed, 1 Feb 2023 09:10:30 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Do not scan the product_name file twice
>
> src/hotspot/cpu/aarch64/vm_version_aarch64.cpp line 590:
> 
>> 588:   const char* tname_file = "/sys/hypervisor/type";
>> 589:   if (check_info_file(pname_file, "KVM")) {
>> 590:     Abstract_VM_Version::_detected_virtualization = KVM; return;
> 
> Please put the return on a new line. Thanks

Hi David, I moved the returns.

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

PR: https://git.openjdk.org/jdk/pull/12217


More information about the hotspot-dev mailing list