Integrated: JDK-8255450: runtime/ThreadCountLimit.java causes high system load

Thomas Stuefe stuefe at openjdk.java.net
Tue Oct 27 14:33:21 UTC 2020


On Tue, 27 Oct 2020 12:24:58 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> Hi,
> 
> this is rather trivial:
> 
> runtime/ThreadCountLimit.java, introduced with JDK-8222671, caused problems on our test machines (JDK-8222671 is private and cannot be accessed from outside Oracle, so all I know comes from its review thread [1]).
> 
> The test creates massive amount of threads in order to hit some OS limit which would manifest as an OOM. This affects unrelated processes, unless the test is executed in a jail or with specific limits set.
> 
> This test probably should be executed with a specific limit, but for now lets mark it as @stress and remove it from tier1.

This pull request has now been integrated.

Changeset: 7d41a541
Author:    Thomas Stuefe <stuefe at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/7d41a541
Stats:     2 lines in 2 files changed: 2 ins; 0 del; 0 mod

8255450: runtime/ThreadCountLimit.java causes high system load

Reviewed-by: shade

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

PR: https://git.openjdk.java.net/jdk/pull/876


More information about the hotspot-dev mailing list