OpenJDK ARM build not using all the CPU cores

Andrew Haley aph at redhat.com
Wed Apr 19 07:56:09 UTC 2017


On 19/04/17 08:42, Mani Sarkar wrote:
> Whilst build OpenJDK (latest version from
> http://hg.openjdk.java.net/jdk8u/jdk8u/), we have noticed, that the build
> system does not make use of all the CPU cores available on the machine even
> though it detects them all.

It's because you have almost no memory installed.  If you want to
override the number of cores to use you can do so manually, but the
idea is to prevent you from running out of memory during the build.
It's deliberate, not a bug.

Andrew.




More information about the build-dev mailing list