JVM學習--開啓應用的gc日誌功能

一、開啓方法 For Java 1.4, 5, 6, 7, 8 pass this JVM argument to your application: -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:<file-path> For Java 9, pass the JVM argument: -Xlog:gc*:file=<file-path>
相關文章
相關標籤/搜索