On Tue, 7 Jul 2026 09:51:50 GMT, Kevin Walls <[email protected]> wrote:

> This test fails quite frequently on Windows, with Serial GC.
> Timer granularity seems to be the problem, no cpu time is counted.
> 
> This change is a simple increase in work done to make the cpu time get 
> counted as >0 on on Windows.
> Made it a platform-specific increase in work to not slow the test 
> unnecessarily, e.g. avoid a significant elapsed time change on some test 
> variations on Linux.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Thanks Kevin for fixing this. LGTM.

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

Marked as reviewed by jnorlinder (Committer).

PR Review: https://git.openjdk.org/jdk/pull/31805#pullrequestreview-4644721907

Reply via email to