jdk source has something like:
if (PrintGC && Verbose) {
...
gclog_or_tty->print_cr("TenuredGeneration::compute_new_size: ");
...
How can I get such messages of a running JVM logged? Tried all possible GC
debug/log options to no avail...
Thanks!
g**e 发帖数: 6127
2
use these:
-verbose:gc
-XX:+PrintGCDetails
-XX:+PrintGCTimeStamps
【在 l******e 的大作中提到】 : jdk source has something like: : if (PrintGC && Verbose) { : ... : gclog_or_tty->print_cr("TenuredGeneration::compute_new_size: "); : ... : How can I get such messages of a running JVM logged? Tried all possible GC : debug/log options to no avail... : Thanks!