RFR: 8346875: Test jdk/jdk/jfr/event/os/TestCPULoad.java fails on macOS [v2]
Matthias Baesken
mbaesken at openjdk.org
Thu Jan 16 14:45:16 UTC 2025
> The test fails on some new Mac instances (macOS 14.5 (macOS aarch64) , CPU Apple M2) with :
> java.lang.AssertionError: Expected at least one event
> at jdk.jfr.event.os.TestCPULoad.main(TestCPULoad.java:62)
> at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
> at java.base/java.lang.reflect.Method.invoke(Method.java:565)
> at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
> at java.base/java.lang.Thread.run(Thread.java:1447)
>
> The current sleep value seems to be a bit too slow for those machines. The issues occured (mostly) with fastdebug binaries.
Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
adjust the program, burn some cycles instead
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/23136/files
- new: https://git.openjdk.org/jdk/pull/23136/files/ad334587..382a12f6
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=23136&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=23136&range=00-01
Stats: 22 lines in 1 file changed: 19 ins; 1 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/23136.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/23136/head:pull/23136
PR: https://git.openjdk.org/jdk/pull/23136
More information about the hotspot-jfr-dev
mailing list