背景
k8s环境中有个pod,pod里跑了一个java进程。 采用的是jdk版本是openjdk version "1.8.0_342"。 启动时有这些jvm参数:
-server
-Dspring.datasource.druid.maxActive=80
-XX:MaxGCPauseMillis=200
-XX:+UseG1GC
-XX:+UseContainerSupport
-XX:MinRAMPercentage=20.0
-XX:MaxRAMPercentage=70.0
-Djava.security.egd=file:/dev/./urandom
-Duser.timezone=GMT+08
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/mnt/log
-XX:+UnlockExperimentalVMOptions