RFR: 8366850: Test com/sun/jdi/JdbStopInNotificationThreadTest.java failed
Chris Plummer
cjplummer at openjdk.org
Fri Sep 5 19:19:20 UTC 2025
In order to make this test run faster, its heap size was reduced to 64m. This proved to be too small resulting in sometimes exceeding 10% usage before the notification can be setup. This meant that once the memory consumption loop started, it never stopped until OOME (it's suppose to stop when 10% usage has been achieved). I tried 128m and that also proved to be too small when using ZGC and -Xcomp. 256m seems to be enough. I tested 10x times on all our debug platforms with ZGC, ZGC + -Xcomp, and G1 + -Xcomp.
-------------
Commit messages:
- Increase heap size to 256m to avoid OOME
Changes: https://git.openjdk.org/jdk/pull/27126/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27126&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8366850
Stats: 5 lines in 2 files changed: 4 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/27126.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27126/head:pull/27126
PR: https://git.openjdk.org/jdk/pull/27126
More information about the serviceability-dev
mailing list