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

Erik Gahlin egahlin at openjdk.org
Mon Dec 4 16:58:48 UTC 2023


On Sun, 3 Dec 2023 14:08:09 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:

> Could I have a review of a test fix. The test fails intermittently, likely because it's hard to guarantee that old objects are sampled. I have not been able to reproduce locally.
> 
> To make the test more reliable, the leaks from the previous subtest is garbage collected before current subtest is started. I also added a retry mechanism.
> 
> Testing: 100 * jdk/jfr/jcmd/TestJcmdDumpPathToGCRoots.java
> 
> Thanks
> Erik

This pull request has now been integrated.

Changeset: 65be5e0c
Author:    Erik Gahlin <egahlin at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/65be5e0c547d74ca7de288b164aa9bd6d6855685
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"

Reviewed-by: mgronlun

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

PR: https://git.openjdk.org/jdk/pull/16939


More information about the hotspot-jfr-dev mailing list