RFR: 8359135: New test TestCPUTimeSampleThrottling fails intermittently [v2]
Johannes Bechberger
jbechberger at openjdk.org
Wed Jun 11 15:10:32 UTC 2025
On Wed, 11 Jun 2025 11:11:50 GMT, Johannes Bechberger <jbechberger at openjdk.org> wrote:
>> I increased the tolerated rate deviation to make the test less flaky on systems like PowerPC. The deviation comes from the thread not being in the Java and native states on some platforms compared to others.
>
> Johannes Bechberger has updated the pull request incrementally with two additional commits since the last revision:
>
> - Remove debug code
> - Make upper-bound narrower
This test already only takes CPU-time into account (so this prevents issues with system load), and even if the thread is in the wrong state (like in VM or in GC), events are recorded (with `failed=true`). So I disagree with you.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25745#issuecomment-2963205790
More information about the hotspot-jfr-dev
mailing list