Shenandoah thread count ergonomics not container aware due to JDK-8225229

Zhengyu Gu zgu at redhat.com
Fri Nov 8 14:57:47 UTC 2019


Hi Amir,

Thanks for reporting. I filed JDK-8233850 [1] to fix this.

Thanks,

-Zhengyu

[1] https://bugs.openjdk.java.net/browse/JDK-8233850

On 11/8/19 7:12 AM, Amir Hadadi wrote:
> Hi,
> When using Shenandoah in a docker container on JDK 13, the number of CPUs allocated to the container is ignored.
> Seems like https://bugs.openjdk.java.net/browse/JDK-8225229 made Shenandoah use os::processor_count() which is not container aware.
> 



More information about the shenandoah-dev mailing list