Amazon Corretto 8 容器感知功能

huangapple go评论65阅读模式
英文:

Amazon Corretto 8 Container awareness

问题

在阅读了关于Amazon Corretto的所有AWS文档之后,我并没有找到关于启用容器感知(如果不是默认启用的话)的JVM选项的线索,也没有找到在(Docker)容器上运行时控制堆的容器内存使用率的选项名称。

是否有人知道如何配置这些选项?

英文:

After reading all AWS Documentation about Amazon Corretto, I have found no clue of JVM options to enable container awareness (if it is not enabled by default) and option names to control container memory usage ratio for heap when running on a (Docker) container.

Does anyone knows how to configure these options?

答案1

得分: 1

Amazon Corretto具有与Open JDK相同的容器支持。在最新版本中,默认情况下已启用该功能,或者您可以通过使用以下标志明确指定:

-XX:+UseContainerSupport
英文:

Amazon Corretto has the same Container support that Open JDK does. It's enabled by default in the latest version, or you can explicitly specify by using the following flag:

-XX:+UseContainerSupport

huangapple
  • 本文由 发表于 2020年4月4日 15:28:36
  • 转载请务必保留本文链接:https://go.coder-hub.com/61025024.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定