On Sat, 13 Sep 2025 00:19:23 GMT, Chris Plummer <[email protected]> wrote:
> Improved test stability. See first comment for details.
>
> Tested by running the test 25 times with every GC on every supported platform
> and also combined with -Xcomp.
test/jdk/com/sun/jdi/JdbStopInNotificationThreadTest.java line 83:
> 81: counter++;
> 82: if (counter % 1000 == 0) {
> 83: System.gc(); // Encourage promotion into
> old/tenured generation
I wonder if `fullGC` from `WhiteBox.java` can be used here -- it would make the
intention to run full-gc explicit.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27266#discussion_r2346652763