[jdk11u-dev] Integrated: 8305931: jdk/jfr/jcmd/TestJcmdDumpPathToGCRoots.java failed with "Expected chains but found none"

Robert Toyonaga duke at openjdk.org
Tue Apr 30 17:00:13 UTC 2024


On Fri, 26 Apr 2024 20:20:44 GMT, Robert Toyonaga <duke at openjdk.org> wrote:

> This is a backport of https://github.com/openjdk/jdk/commit/65be5e0c547d74ca7de288b164aa9bd6d6855685
> 
> This change to JFR test code is needed because TestJcmdDumpPathToGCRoots transiently fails because it can't guarantee the expected objects are sampled. The change improves cleanups between checks and also adds retries.
> 
> This should help resolve some test failures for Adoptium (see https://github.com/adoptium/aqa-tests/issues/2766)
> 
> Testing: the updated test/jdk/jdk/jfr/jcmd/TestJcmdDumpPathToGCRoots.java test passes.

This pull request has now been integrated.

Changeset: cabaf748
Author:    Robert Toyonaga <rtoyonag at redhat.com>
Committer: Severin Gehwolf <sgehwolf at openjdk.org>
URL:       https://git.openjdk.org/jdk11u-dev/commit/cabaf7482681fb17cb7722377da6baab0ed2fed3
Stats:     39 lines in 1 file changed: 7 ins; 0 del; 32 mod

8305931: jdk/jfr/jcmd/TestJcmdDumpPathToGCRoots.java failed with "Expected chains but found none"

Backport-of: 65be5e0c547d74ca7de288b164aa9bd6d6855685

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

PR: https://git.openjdk.org/jdk11u-dev/pull/2686


More information about the jdk-updates-dev mailing list