RFR: 8374576: Disable MemoryEaterMT for VirtualThread
Ramkumar Sunderbabu
rsunderbabu at openjdk.org
Tue Jan 6 10:28:50 UTC 2026
Background: The test induces OOM and frees memory when OOMError is thrown. However, there is no guarantee that OOM should happen in the same thread for the test to handle the error. OOM can arise in any thread. This logic makes this test fundamentally unreliable.
Recently, we are seeing issue with VT usage.
This is still useful test to have around. Hence, excluding the test only for VT case.
Testing:
Ran with and without VT thread.
-------------
Commit messages:
- 8374576: Disable MemoryEaterMT for VirtualThread
Changes: https://git.openjdk.org/jdk/pull/29060/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29060&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8374576
Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/29060.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/29060/head:pull/29060
PR: https://git.openjdk.org/jdk/pull/29060
More information about the hotspot-gc-dev
mailing list