본문 바로가기

Java For All/eClipse

Eclipse Test and Performance Tools Platform (TPTP)

정리는 향후에 ;;;

export TPTP_AC_HOME="/opt/tptp/agntctrl/linux_ia32"
export JAVA_PROFILER_HOME="$TPTP_AC_HOME/plugins/org.eclipse.tptp.javaprofiler"
export LD_LIBRARY_PATH=$JAVA_PROFILER_HOME:$TPTP_AC_HOME/lib:$TPTP_AC_HOME/bin:$LD_LIBRARY_PATH

More details on using the profiler agent


To debug a performance issue and to see where an application is spending most of its time, one might pick the following option:


java '-agentlib:JPIBootLoader=JPIAgent:server=enabled;CGProf:execdetails=true' com.mycompany.SomeClass



To debug a memory leak issue one might use the following profiling options:


java '-agentlib:JPIBootLoader=JPIAgent:server=enabled;HeapProf:allocsites=true' com.mycompany.SomeClass


To debug a thread lock issue, on might use the following profiling parameters:


java '-agentlib:JPIBootLoader=JPIAgent:server=enabled;ThreadProf:contanalysis=true,maxstackdepth=10' com.mycompany.SomeClass


This is just a partial description. A full description exists at TPTP Agent settings.




참조사이트>

Introducing Eclipse TPTP Profiler

http://www.jroller.com/RickHigh/entry/profiling_with_eclipse_and_remote

TPTP 프로파일링 파트 3, 원격지 JVM 프로파일링
http://blog.naver.com/PostView.nhn?blogId=bobosasa&logNo=120109419504

Eclipse Test and Performance Tools Platform Project
http://www.eclipse.org/tptp/home/documents/tutorials/profileOnServer/TPTP-WTP.html

Tutorial: Profiling with TPTP and Tomcat


http://www.myhomepageindia.com/index.php/2009/02/10/tutorialprofiling-with-tptp-and-tomcat.html