<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    隨筆-193  評論-715  文章-1  trackbacks-0
    本Blog所有內容不得隨意轉載,版權屬于作者所有。如需轉載請與作者聯系( fastzch@163.com )。
    未經許可的轉載,本人保留一切法律權益。
    一直以來,發現有某些人完全不尊重我的勞動成果,隨意轉載,提醒一下那些人小心哪天惹上官司。


    IBM Pattern Modeling and Analysis Tool for Java Garbage Collector(簡稱GA),大名鼎鼎的IBM用來分析JDK GC日志的工具,2008年8月23日,更新至2.6版,增加了對Java 6 GC日志的分析。

    我想這也是為了配合Websphere Application Server 7.0的測試版發布,在我之前的一篇文章《WebSphere Application Server 7.0 初體驗》中曾經提到,GCViewer這個工具目前還無法查看其GC的日志,現在不用擔心這個問題了,用GA2.6來看吧。

    來看看官方的簡介:
    What?is?Pattern?Modeling?and?Analysis?Tool?for?IBM?Java?Garbage?Collector?

    Pattern?Modeling?and?Analysis?Tool?for?IBM??Java??Garbage?Collector?(PMAT)?parses?verbose?GC?trace,?analyzes?Java?heap?usage,?and?recommends?key?configurations?based?on?pattern?modeling?of?Java?heap?usage.?

    When?the?JVM?(Java?virtual?machine)?cannot?allocate?an?object?from?the?current?heap?because?of?lack?of?space,?a?memory?allocation?fault?occurs,?and?the?Garbage?Collector?is?invoked.?The?first?task?of?the?Garbage?Collector?is?to?collect?all?the?garbage?that?is?in?the?heap.?This?process?starts?when?any?thread?calls?the?Garbage?Collector?either?indirectly?as?a?result?of?allocation?failure?or?directly?by?a?specific?call?to?System.gc().?The?first?step?is?to?get?all?the?locks?needed?by?the?garbage?collection?process.?This?step?ensures?that?other?threads?are?not?suspended?while?they?are?holding?critical?locks.?All?other?threads?are?then?suspended.?Garbage?collection?can?then?begin.?It?occurs?in?three?phases:?Mark,?Sweep,?and?Compaction?(optional).?

    Verbose?GC?is?a?command-line?option?that?one?can?supply?to?the?JVM?at?start-up?time.?The?format?is:?-verbose:gc?or?-verbosegc.?This?option?switches?on?a?substantial?trace?of?every?garbage?collection?cycle.?The?format?for?the?generated?information?is?not?designed?and?therefore?varies?among?various?platforms?and?releases.?

    This?trace?should?allow?one?to?see?the?gross?heap?usage?in?every?garbage?collection?cycle.?For?example,?one?could?monitor?the?output?to?see?the?changes?in?the?free?heap?space?and?the?total?heap?space.?This?information?can?be?used?to?determine?whether?garbage?collections?are?taking?too?long?to?run;?whether?too?many?garbage?collections?are?occurring;?and?whether?the?JVM?crashed?during?garbage?collection.?

    更多訊息,可以參考其官方網站:
    http://alphaworks.ibm.com/tech/pmat

    WAS的GC日志的獲得方法,可以參見我的另一篇文章《WebSphere Application Server 7.0 初體驗》,當然也可以看WAS的文檔或此軟件的文檔。

    下圖是我試用WAS7.0產生的GC Log的Chart View:


    有興趣的朋友們可以試試看。
    posted on 2008-09-01 00:11 Robin's Programming World 閱讀(3255) 評論(0)  編輯  收藏 所屬分類: JavaWebshere
    主站蜘蛛池模板: 四虎成人精品在永久免费| 午夜无遮挡羞羞漫画免费| 中文字幕av免费专区| 免费看h片的网站| 亚洲狠狠婷婷综合久久久久 | 亚洲成av人片在线观看无码不卡| 香蕉视频亚洲一级| 亚洲精品无码久久久久| 免费无码AV片在线观看软件| 国产成人1024精品免费| 免费国产人做人视频在线观看| 亚洲中文字幕无码av| 亚洲成A人片在线观看中文| 国产成人精品一区二区三区免费 | 亚洲一区欧洲一区| 国产亚洲成人久久| 一区二区三区AV高清免费波多| 亚洲va在线va天堂va四虎| 四虎影在线永久免费观看| 足恋玩丝袜脚视频免费网站| 亚洲一区在线免费观看| 亚洲视频人成在线播放| 国内一级一级毛片a免费| 免费视频一区二区| 亚洲欧洲日产专区| 亚洲色爱图小说专区| 久久99热精品免费观看牛牛| 亚洲白色白色永久观看| 亚洲熟女乱综合一区二区| 成年人免费观看视频网站| 白白色免费在线视频| www亚洲一级视频com| 五月天婷婷免费视频| 亚洲综合无码一区二区痴汉| 亚洲国产精品久久66| 亚洲综合在线另类色区奇米| 暖暖在线视频免费视频| 免费一级全黄少妇性色生活片 | 国产日韩一区二区三免费高清| 亚洲av永久无码一区二区三区| 亚洲成AV人网址|