Java 技术,IBM 风格: 监视和判断问题
使用 IBM 的诊断工具建立更好的应用程序
Chris Bailey (baileyc@uk.ibm.com), 咨询软件工程师, IBM
Simon Rowland, 软件工程师, IBM Java Technology Centre
简介: Java? 技术 5.0 的 IBM 实现包含许多有用的工具,可以帮助开发人员诊断和解决 Java 开发问题。
在 Java 技术,IBM 风格 系列的本期文章中,您将了解可以从 IBM 跟踪和转储引擎获得的信息。
本文还将介绍 Diagnostic Toolkit and Framework for Java(DTFJ)API,可以用这个 API 编写代码来查询和分析诊断数据。
GPS AppSrv01 / 192.168.134.72 / Snap.20121231.051434.11938.0005.trc 文件分析
[root@app01 AppSrv01]# /opt/IBM/WebSphere/AppServer/java/bin/java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxa6460sr8fp1ifix-20100924_01(SR8 FP1+IZ81201+IZ80998+IZ83034+IZ83273))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr8ifx-20100923_65174 (JIT enabled, AOT enabled)
J9VM - 20100923_065174
JIT - r9_20100401_15339ifx6
GC - 20100308_AA)
JCL - 20100728_01
[root@app01 AppSrv01]# /opt/IBM/WebSphere/AppServer/java/bin/javac
Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-nowarn Generate no warnings
-verbose Output messages about what the compiler is doing
-deprecation Output source locations where deprecated APIs are used
-classpath <path> Specify where to find user class files and annotation processors
-cp <path> Specify where to find user class files and annotation processors
-sourcepath <path> Specify where to find input source files
-bootclasspath <path> Override location of bootstrap class files
本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/jisuanjixue/article-30599-20.html
你是美国佬的私生子吗
可口可乐长期占住第一的宝座
泻做尸叫兽
海南岛边12海里