How to profile java program with its JVM TI agent




We write a java program, and a JVM TI agent for this java program (for
thread creation/end events). If I want to profile our java program,
what profiler could I use? AFAIK, TPTP is a good choice, but TPTP also
relies on its JVM TI agent to collect data. I am not sure TPTP works in this
case, since our java program also uses its own TI agent.

Any comments on this are welcome. Thanks.

Best Regards

--
Yao Qi <qiyaoltc@xxxxxxxxx> GNU/Linux Developer
http://duewayqi.googlepages.com/

linux: No such file or directory
.



Relevant Pages

  • Re: Finding out the active Unix shell
    ... I'm writing a C program that runs a Java program (an agent) ... The agent's shell is unknown, so I need to check, within my C code ... "Debugging is twice as hard as writing the code in the first place. ...
    (comp.lang.c)
  • Re: Manipulate objects in heap
    ... > a Java program. ... > Does the Sun JVM or other implementations of JVM allow this via their ... tend to have cutting-edge GC implementations of their own, ... use the IBM "jikes" JVM as a basis (not to be confused with the jikes ...
    (comp.lang.java.programmer)
  • Re: Finding out the active Unix shell
    ... I'm writing a C program that runs a Java program (an agent) ... The agent's shell is unknown, so I need to check, within my C code ... "Debugging is twice as hard as writing the code in the first place. ...
    (comp.lang.c)
  • Re: Mutiple JVM in Single Os
    ... Actually we trigger a java program which will execute ... other java program in seperate JVM. ...
    (comp.lang.java.programmer)
  • Is There a Java Process ID For Each Process?
    ... two instances of the program (each with a different JVM) ended ... each Java program I run. ... I'm sure there's some way I can do this by getting the system time, ... something in the Java API that will easily provide the kind of unique PID I ...
    (comp.lang.java.help)