Update jvm-optimization.md

This commit is contained in:
lilingfengdev 2024-07-01 09:56:19 +08:00 committed by GitHub
parent fe4546de9e
commit 58d38d79ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -128,7 +128,7 @@ java -Xlog:gc+init -XX:+UseTransparentHugePages -Xmx1g -version
-XX:+UseTransparentHugePages -XX:LargePageSizeInBytes=2m -XX:+UseHugeTLBFS -XX:+UseTransparentHugePages -XX:LargePageSizeInBytes=2m -XX:+UseHugeTLBFS
``` ```
::note :::tip
在某些服务器上,开启大页后,会延长 JVM 的启动时间,时间从十秒到十分钟不等 在某些服务器上,开启大页后,会延长 JVM 的启动时间,时间从十秒到十分钟不等