RFR: 8320836: jtreg gtest runs should limit heap size

SendaoYan syan at openjdk.org
Fri Jul 25 03:01:04 UTC 2025


On Thu, 24 Jul 2025 08:17:12 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> Trivial fix to limit Java heap size when running the gtests. Otherwise, we run with an unknown malloc load (since GC structures, preallocated, may be very large), and not all tests like that.

test/hotspot/jtreg/gtest/GTestWrapper.java line 85:

> 83:         command.add("-jdk");
> 84:         command.add(Utils.TEST_JDK);
> 85:         command.add("-Xmx200m");

Should we need to update the copyright year.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26454#discussion_r2230032065


More information about the hotspot-runtime-dev mailing list