Integrated: JDK-8300266: Detect Virtualization on Linux aarch64

Matthias Baesken mbaesken at openjdk.org
Tue Jan 24 08:08:12 UTC 2023


On Wed, 18 Jan 2023 13:27:24 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> Currently we detect virtualization on Linux x86_64 (cpuid call) and Linux ppc64le ; the result is afterwards used e.g. in hs_err and JFR output.
> 
> On Linux aarch64 the detection is missing, this should be added.
> One option would be to look at /sys/devices/virtual/dmi/id/product_name and related files , at least KVM and VMWare can be detected using these files.

This pull request has now been integrated.

Changeset: 544c16e0
Author:    Matthias Baesken <mbaesken at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/544c16e0bdd4335b2624158fd1f6521984aa5079
Stats:     39 lines in 2 files changed: 39 ins; 0 del; 0 mod

8300266: Detect Virtualization on Linux aarch64

Reviewed-by: stuefe, lucy

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

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


More information about the hotspot-dev mailing list