paketo-buildpacks / libjvm

A library and helper applications that form the basis for building the different Paketo-style JVM-providing buildpacks
Apache License 2.0
19 stars 20 forks source link

Remove the active processor count calculation #320

Closed showpune closed 10 months ago

showpune commented 10 months ago

Summary

1) Use the go runtime.NumCPU() will return the CPU of the node but not container, which is not right in container env 2) From JDK8, the JDK will return the right process account of container https://bugs.openjdk.org/browse/JDK-8140793

Use Cases

Checklist