RFR: 8350820: The OperatingSystemMXBean cpuLoad() methods return -1.0 in Windows
    Leonid Mesnik 
    lmesnik at openjdk.org
       
    Fri Feb 28 00:09:31 UTC 2025
    
    
  
The problem was introduced by the 
https://bugs.openjdk.org/browse/JDK-8336289
This pr just revert changes in src/jdk.management/windows/native/libmanagement_ext/OperatingSystemImpl.c
The test fix is going to be pushed separately (for easy backporting) bug https://bugs.openjdk.org/browse/JDK-8350818
I verified that updated tests failed (bean returns -1.0) and now passed, also run tier1-5 testing.
-------------
Commit messages:
 - 8350820
Changes: https://git.openjdk.org/jdk/pull/23832/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23832&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8350820
  Stats: 30 lines in 1 file changed: 0 ins; 0 del; 30 mod
  Patch: https://git.openjdk.org/jdk/pull/23832.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23832/head:pull/23832
PR: https://git.openjdk.org/jdk/pull/23832
    
    
More information about the serviceability-dev
mailing list