Integrated: 8314139: TEST_BUG: runtime/os/THPsInThreadStackPreventionTest.java could fail on machine with large number of cores

Man Cao manc at openjdk.org
Fri Aug 11 21:07:59 UTC 2023


On Fri, 11 Aug 2023 05:41:52 GMT, Man Cao <manc at openjdk.org> wrote:

> Hi all, @tstuefe 
> 
> Could anyone review this fix for a test failure that could happen on machines with many cores? This fix caps `-XX:ActiveProcessorCount` to 64, which limits the number of internal threads the JVM creates.
> 
> An alternative is to bump up the `acceptableRSSLimitMB` such as increasing `basicRSSOverheadMB`. However, this approach could be fragile for machines with even more number of cores (e.g. 256 or more).
> 
> -Man

This pull request has now been integrated.

Changeset: 73325028
Author:    Man Cao <manc at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/733250288325bc663afc0376342d4c5a7a471cbd
Stats:     3 lines in 1 file changed: 3 ins; 0 del; 0 mod

8314139: TEST_BUG: runtime/os/THPsInThreadStackPreventionTest.java could fail on machine with large number of cores

Reviewed-by: shade, stuefe

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

PR: https://git.openjdk.org/jdk/pull/15241


More information about the hotspot-runtime-dev mailing list