RFR: 8374364: TestCgroupMetrics.java fails when cpuset unmounted [v5]

SendaoYan syan at openjdk.org
Tue Jan 6 02:52:18 UTC 2026


> Hi all,
> 
> Test jdk/internal/platform/cgroup/TestCgroupMetrics.java report fails when the cpuset unmounted. The details shows in jbs issue. I think it's better to check the 'cpu period' or 'cpuset' available or not before run the releated tests.
> 
> Change has been verified locally. Test-fix only, no risk.

SendaoYan has updated the pull request incrementally with one additional commit since the last revision:

  Update comment "If cgroups is not configured, the test is skipped." which suggestion from @dholmes-ora
  
  Co-authored-by: David Holmes <62092539+dholmes-ora at users.noreply.github.com>

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/28996/files
  - new: https://git.openjdk.org/jdk/pull/28996/files/068b1591..8e2ee419

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=28996&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=28996&range=03-04

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/28996.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28996/head:pull/28996

PR: https://git.openjdk.org/jdk/pull/28996


More information about the hotspot-runtime-dev mailing list