Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 4e488d21f3415ec16f77e67b3069a231 > files > 10

tijmp-0.7-0.0.2mdv2010.0.i586.rpm

TIJMP is a memory profiler for java. It uses the jvm tool interface to
do its profiling. 

TIJMP uses jvmti, jni and java to do its profiling. The jvmti gui run
inside the same jvm as the program being profiled. 


Installing: 
set JAVA_HOME so that tijmp can find the header files.
export JAVA_HOME=
./configure --prefix=/tmp/tijmp/ && make install

Running:
Set LD_LIBRARY_PATH so that tijmp can be found and then run java with
the flags to start tijmp:
export LD_LIBRARY_PATH=/tmp/tijmp/lib
java -agentlib:tijmp my.fine.Program

TIJmp tries to find tijmp.jar automatically, but depending on how you
have installed tijmp it may fail, in that case you can set the system
property tijmp.jar: 
java -Dtijmp.jar=/tmp/tijmp/tijmp.jar -agentlib:tijmp my.fine.Program

Reporting bugs: 
Send an email to jmp-devel@khelekore.org. Please supply as detailed
information as possible. The basic information should at least
contain: 
- Operating system
- The result of an 'java -version' or similar
- Version of jmp
- special startup flags to jmp 
- What you were trying to do
- What happened
It is very helpful if you can compile jmp with tracing enabled and 
supply the information it gives (or at least the last text generated
by tracing).