openjdk:8-jre-alpine 导致 Runtime.getRuntime().availableProcessors()
获取到的 CPU 核数不准确
#4474
Closed
3 tasks done
描述bug
openjdk:8-jre-alpine 镜像导致
Runtime.getRuntime().availableProcessors()
获取到的 CPU 核数不准确,如在 k8s 里定义 4C:程序里只返回了 2C
复现
通过如下步骤可以复现:
期望
修改基础镜像为:openjdk:8-jre-slim
The text was updated successfully, but these errors were encountered: