< prev index next >

test/jdk/jdk/jfr/event/os/TestCPUInformation.java

Print this page
@@ -1,7 +1,7 @@
  /*
-  * Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved.
+  * Copyright (c) 2013, 2021, 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.

@@ -50,10 +50,10 @@
          for (RecordedEvent event : events) {
              System.out.println("Event: " + event);
              Events.assertField(event, "hwThreads").atLeast(1);
              Events.assertField(event, "cores").atLeast(1);
              Events.assertField(event, "sockets").atLeast(1);
-             Events.assertField(event, "cpu").containsAny("Intel", "AMD", "Unknown x86", "ARM", "PPC", "PowerPC", "AArch64", "s390");
-             Events.assertField(event, "description").containsAny("Intel", "AMD", "Unknown x86", "ARM", "PPC", "PowerPC", "AArch64", "s390");
+             Events.assertField(event, "cpu").containsAny("Intel", "AMD", "Unknown x86", "ARM", "PPC", "PowerPC", "AArch64", "Riscv64", "s390");
+             Events.assertField(event, "description").containsAny("Intel", "AMD", "Unknown x86", "ARM", "PPC", "PowerPC", "AArch64", "Riscv64", "s390");
          }
      }
  }
< prev index next >