On Wed, 24 Dec 2025 08:22:58 GMT, SendaoYan <[email protected]> wrote:

>> Hi all,
>> 
>> This PR use `WhiteBox.getWhiteBox().fullGC()` instead of `eatMemory` to 
>> grigger full GC. The OOME trigger by `eatMemory` may cause 
>> vmTestbase/nsk/monitoring/stress/classload tests intermittent fails when run 
>> those tests simultancely on some machines. The WB.fullGC() might be use for 
>> same purpose. It also reduce test execution time.
>> 
>> Change has been verified locally by running tests 
>> vmTestbase/nsk/monitoring/stress/classload on linux-x64.
>> 
>> Additional testing:
>> 
>> - [x] All jtreg tests by fastdebug build
>
> SendaoYan has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Change the copyright year from 2025 to 2026

The fix looks good. Thank you for this improvement. Hope it makes our testing 
more stable.

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

Marked as reviewed by lmesnik (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/28891#pullrequestreview-3644932150

Reply via email to