RFR: 8342175: MemoryEaterMT fails intermittently with ExceptionInInitializerError

Leonid Mesnik lmesnik at openjdk.org
Mon Dec 1 15:39:10 UTC 2025


On Thu, 27 Nov 2025 10:26:10 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> See issue for more bread-crumbs. I think this is generally a test bug for vmTestbase GC tests that run on the brink of OOME. `MemoryEaterMT` intermittently fails with Shenandoah and G1 on our machines. So I believe we should fix this as testbug.
> 
> Additional testing:
>  - [x] Linux AArch64 server fastdebug, `MemoryEaterMT` with `-XX:+UseShenandoahGC`, 10x, now passes 
>  - [x] Linux AArch64 server fastdebug, `MemoryEaterMT` with default (G1) GC, 10x, now passes
>  - [x] Linux AArch64 server fastdebug, `all` with default (G1) GC, still passes

Thanks for fixing these tests. Make sense to minimize allocation during OOME.

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

Marked as reviewed by lmesnik (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/28531#pullrequestreview-3525664864


More information about the hotspot-gc-dev mailing list