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

Matthias Baesken mbaesken at openjdk.org
Fri Jan 20 10:55:50 UTC 2023


> 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.

Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:

  switch from NULL ot nullptr

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/12071/files
  - new: https://git.openjdk.org/jdk/pull/12071/files/35c45cb1..5770114e

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=12071&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=12071&range=00-01

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/12071.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12071/head:pull/12071

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


More information about the hotspot-dev mailing list