On Wed, 26 Mar 2025 19:52:46 GMT, Brent Christian <bchri...@openjdk.org> wrote:

> But if there's concern that we won't reach the needed state during ForceGC's 
> default timeout, I can call ForceGC.waitFor() with a longer timeout. 60s 
> ought to be plenty.

I think using 60 seconds as a timeout for `ForceGC` would be good. Also just 
for debugging, in case the test fails for some intermittent reason, I think it 
would be a good idea to print the return value of the `ForceGC` call when it 
returns `false` indicating that the condition didn't satisfy after the wait 
time.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24143#discussion_r2015400328

Reply via email to