由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - How to log some gc info?
相关主题
JVM freezeSpring 2.5 vs. EJB3.0
[提问] The JVM could not be started现在感觉到为什么大家说mongo有很多问题了
java(1.4.2) threads: out of memory errorAn experiment with JVM Garbage Collection Schemes
Where I can find comparison of JVMsStack Frame of your JVM implementation
Re: when do I need to recompileThe shape of JVM stack frame
Re: cannot make JSSE work, faint!Top Ten Errors Java Programmers Make(10)
笨问题续:TOMCATIs this a Bug or not?
Core J2EE Design PatternAnswer to "Is this a Bug or not? "
相关话题的讨论汇总
话题: gc话题: log话题: verbose话题: xx话题: info
进入Java版参与讨论
1 (共1页)
l******e
发帖数: 28
1
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!

1 (共1页)
进入Java版参与讨论
相关主题
Answer to "Is this a Bug or not? "Re: when do I need to recompile
Answer 2 to "Is this a Bug or not? "Re: cannot make JSSE work, faint!
Java's performance myth笨问题续:TOMCAT
JVMCore J2EE Design Pattern
JVM freezeSpring 2.5 vs. EJB3.0
[提问] The JVM could not be started现在感觉到为什么大家说mongo有很多问题了
java(1.4.2) threads: out of memory errorAn experiment with JVM Garbage Collection Schemes
Where I can find comparison of JVMsStack Frame of your JVM implementation
相关话题的讨论汇总
话题: gc话题: log话题: verbose话题: xx话题: info