On Wed, 29 Oct 2025 03:04:30 GMT, Leonid Mesnik <[email protected]> wrote:

> I think it would be better to use WhiteBox.fullGC()
> 
> It is the fast and robust way to trigger Full GC without risks hitting OOME. 
> The test has been developed before WhiteBox was added.

The 'ClassUnloader.eatMemory()' has been replaced as 
'WhiteBox.getWhiteBox().fullGC()' for the 9 releated tests. Change has been 
verified locally.

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

PR Comment: https://git.openjdk.org/jdk/pull/28011#issuecomment-3459505044

Reply via email to