RFR: 8305931: jdk/jfr/jcmd/TestJcmdDumpPathToGCRoots.java failed with "Expected chains but found none"
    Markus Grönlund 
    mgronlun at openjdk.org
       
    Mon Dec  4 15:32:39 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
Marked as reviewed by mgronlun (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/16939#pullrequestreview-1762731604
    
    
More information about the hotspot-jfr-dev
mailing list