JDK-8215961 : jdk/jfr/event/os/TestCPUInformation.java fails on AArch64
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 11,12
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: aarch64
  • Submitted: 2018-12-28
  • Updated: 2023-10-17
  • Resolved: 2019-01-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 13 JDK 8 Other
11.0.5Fixed 13 b03Fixed 8u401Fixed openjdk8u292Fixed
Related Reports
Relates :  
Description
Currently the jtreg test  jdk/jfr/event/os/TestCPUInformation.java fails on AArch64. The failure occurs when the event

Event: jdk.CPUInformation {
  startTime = 04:06:19.049
  cpu = "AArch64"
  description = "0x50:0x0:0x000:1, simd"
  sockets = 8
  cores = 8
  hwThreads = 8
}

is tested. Reason is that the description part misses some info present on other platforms. The test expects any of ("Intel", "AMD", "Unknown x86", "SPARC", "ARM", "PPC", "PowerPC", "AArch64", "zArch")  in the description string.
Comments
Fix Request (11u) Backporting this fix unbreaks the tests and makes reported CPU information more consistent. The patch applies to 11u cleanly; test fails before the patch and passes with the patch on AArch64.
01-07-2019

URL: http://hg.openjdk.java.net/jdk/jdk/rev/a3e7e08ee427 User: mbaesken Date: 2019-01-04 08:10:52 +0000
04-01-2019