RFR: JDK-8308047 java/util/concurrent/ScheduledThreadPoolExecutor/BasicCancelTest.java timed out and also had jcmd pipe errors

Stefan Karlsson stefank at openjdk.org
Fri Jun 9 09:48:42 UTC 2023


On Fri, 9 Jun 2023 09:13:08 GMT, Viktor Klang <duke at openjdk.org> wrote:

> The test used a too-small heap for generic testing, and coupled with looking at `freeMemory()` it led to a less-than-ideal determinism of execution of the test.

Did you test if this significantly changed the execution time of the test? I'm wondering if it would make sense to change this to something smaller, say `maxMemory / 32`?

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

PR Review: https://git.openjdk.org/jdk/pull/14389#pullrequestreview-1471626631


More information about the core-libs-dev mailing list