[jdk8u-dev] Integrated: 8228658: test GetTotalSafepointTime.java fails on fast Linux machines with Total safepoint time 0 ms

SendaoYan syan at openjdk.org
Tue Jun 24 14:10:35 UTC 2025


On Sat, 14 Sep 2024 02:24:54 GMT, SendaoYan <syan at openjdk.org> wrote:

> Hi all,
>   We observerd the test `sun/management/HotspotRuntimeMBean/GetTotalSafepointTime.java` intermittent fails on jdk8u-dev. The failure phenomenon same to [JDK-8228658](https://bugs.openjdk.org/browse/JDK-8228658). So I want to backport this PR from jdk11u-dev to jdk8u-dev.
> 
> Only the copyright year backported not cleanly, the copyright year modified by JDK-6719955 and JDK-6943119 in jdk8u-dev. Other parts are backport cleanly.
> 
> The change has been verified locally, make the test more robustness, test fix only, no risk.

This pull request has now been integrated.

Changeset: 5a6e681f
Author:    SendaoYan <syan at openjdk.org>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk8u-dev/commit/5a6e681faecd7ea2df0a278f58075f6e38e62cce
Stats:     42 lines in 1 file changed: 10 ins; 24 del; 8 mod

8228658: test GetTotalSafepointTime.java fails on fast Linux machines with Total safepoint time 0 ms

Reviewed-by: phh
Backport-of: c4e0c2656caaba67128f75d733b4452def9a7afc

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

PR: https://git.openjdk.org/jdk8u-dev/pull/578


More information about the jdk8u-dev mailing list