How to use verbose option while running a Java application
verbose option displays whole information while running a java application.
There are also some extensions available:
-verbose:class print information about each class loaded.
-verbose:gc Displays each garbage collection event.
-verbose:jni Report native methods used in application
設定步驟
步驟一:
$vi cataout.sh
步驟二:在JAVA_OPTS加入verbose參數
JAVA_OPTS='-server -Xms1024m -Xmx1024m -XX:MaxNewSize=256m -XX:MaxPermSize=256m -XX:+CMSParallelRemarkEnabled -XX:+CMSIncrementalMode -XX:+CMSIncrementalPacing -XX:+UseConcMarkSweepGC -verbose'
沒有留言:
張貼留言
留個話吧:)