<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>lizongbo at 618119.com &#187; HPjtune</title>
	<atom:link href="http://618119.com/tag/hpjtune/feed" rel="self" type="application/rss+xml" />
	<link>http://618119.com</link>
	<description>工作,生活,java,apache,tomcat,Resin,mina,Hessian,Openfire,XMPP,RPC,Ubuntu</description>
	<lastBuildDate>Sat, 21 Aug 2010 08:34:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>用HPjmeter分析jvm的gc日志和heap dump</title>
		<link>http://618119.com/archives/2008/04/13/82.html</link>
		<comments>http://618119.com/archives/2008/04/13/82.html#comments</comments>
		<pubDate>Sun, 13 Apr 2008 13:23:57 +0000</pubDate>
		<dc:creator>lizongbo</dc:creator>
				<category><![CDATA[JVM]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[gcviewer]]></category>
		<category><![CDATA[HPjmeter]]></category>
		<category><![CDATA[HPjtune]]></category>

		<guid isPermaLink="false">http://618119.com/archives/2008/04/13/82.html</guid>
		<description><![CDATA[HPjmeter下载：
ftp://ftp.hp.com/pub/gsy/HPjmeter_3.0.01.jar
或者：
ftp://ftp.hp.com/pub/gsy/hpjmeter_console_3.0.01.00_windows_setup.exe
ftp://ftp.hp.com/pub/gsy/hpjmeter_console_3.0.01.00_linux_setup.sh
(ftp://ftp.hp.com/pub/gsy 支持目录方式浏览。)
jvm参数设置：
1. -Xloggc:gclog.vgc -XX:+PrintGCTimeStamps -XX:-PrintGCDetails -XX:+UseConcMarkSweepGC
3. -agentlib:hprof
(按Ctrl+C生成 java.hprof.txt)
(我在 Openfire的 openfired.vmoptions里添加了如下的的参数：
-Xloggc:gc.log
-XX:+PrintGCTimeStamps
-XX:-PrintGCDetails
-XX:+UseConcMarkSweepGC
-agentlib:hprof
)
运行HPjmeter ： java -Xmx384m -jar HPjmeter_3.0.01.jar
File&#8211;&#62;Open file  &#8211;&#62;
选择gclog.vgc参看gc日志。
或者 java.hprof.txt.
其它相关下载：
HPjtune下载：
ftp://ftp.hp.com/pub/gsy/HPjtune-1.3.zip
SAP Memory Analyzer  1.1.1 的Eclipse插件下载：
http://dl2.csdn.net/down1/20071218/18144755624.zip
官方下载地址： MemoryAnalyzer-1.1.1-plugins-only.zip
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e025ff62-1148-2a10-9994-f9436c40fcb9
gcviewer下载：
http://www.tagtraum.com/download/gcviewer-1.28-bin.zip
来源：http://www.tagtraum.com/gcviewer-download.html
http://www.tagtraum.com/gcviewer.html
参考： http://www.javaperformancetuning.com/tools/hpjmeter/index.shtml
http://www.javaperformancetuning.com/
scimark2 benchmark下载：
http://math.nist.gov/scimark2/scimark2lib.jar
来源： http://math.nist.gov/scimark2/download_java.html
jvm可设置的选项参数： http://blogs.sun.com/watt/resource/jvm-options-list.html
http://java.sun.com/docs/performance/index.html
http://java.sun.com/performance/reference/whitepapers/5.0_performance.html
http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html
http://java.sun.com/javase/technologies/hotspot/gc/gc_tuning_6.html
运行hpjmeter_console_3.0.01.00_windows_setup.exe安装的话，
可以得到两个demo.Java2Demo.eprof和Java2Demo.vgc。
HPjmeter自己生成的hpjmeter.bat 内容如下：
[code]
@echo off
rem Product: HPjmeter Console
rem
rem (c) Copyright 2005-2006 Hewlett-Packard Development Company, L.P.
rem
rem Confidential computer software. Valid license from HP required for
rem possession, use or copying. Consistent [...]]]></description>
		<wfw:commentRss>http://618119.com/archives/2008/04/13/82.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
