Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SystemCpuLoad return -1 with Eclipse Adoptium 21.0.5 on AIX 7.2 ppc64 system #4101

Open
Ruilin-Ma opened this issue Dec 20, 2024 · 1 comment
Labels
p-linux Issues that affect or relate to the ppc LINUX OS testing Issues that enhance or fix our test suites

Comments

@Ruilin-Ma
Copy link

Hi there, I am experiencing an issue where the SystemCpuLoad attribute from the MBean object java.lang:type=OperatingSystem consistently returns -1 on an AIX 7.2 ppc64 system with Temurin JDK 21.0.5.

To reproduce, I used a sample Java class, which retrieves CPU load information by invoking java.lang.management.ManagementFactory.getPlatformMBeanServer(). When running the script on AIX, the returned CPU load is always -1. For comparison, I tested the same script using IBM Semeru JDK 21.0.5, where the system CPU load outputs a valid result. Could you please advise any guidance or steps to address this issue? Thank you!

Temurin JDK 21
> System CPU Load: -1.0
IBM Semeru JDK 21
> System CPU Load: 0.01841305215837936
@github-actions github-actions bot added p-linux Issues that affect or relate to the ppc LINUX OS testing Issues that enhance or fix our test suites labels Dec 20, 2024
@sxa
Copy link
Member

sxa commented Dec 23, 2024

FYI @suchismith1993

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p-linux Issues that affect or relate to the ppc LINUX OS testing Issues that enhance or fix our test suites
Projects
Status: Todo
Development

No branches or pull requests

2 participants