< prev index next >

src/hotspot/share/jfr/periodic/jfrOSInterface.cpp

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012, 2020, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.

@@ -263,11 +263,13 @@
   } else if (vrt == KVM) {
     return "KVM virtualization";
   } else if (vrt == VMWare) {
     return "VMWare virtualization";
   } else if (vrt == HyperV) {
-    return "HyperV virtualization";
+    return "Hyper-V virtualization";
+  } else if (vrt == HyperVRole) {
+    return "Hyper-V role";
   } else if (vrt == PowerVM) {
     return "PowerVM virtualization";
   } else if (vrt == PowerKVM) {
     return "Power KVM virtualization";
   } else if (vrt == PowerFullPartitionMode) {
< prev index next >