|First steps TPTP [message #92966]
||Thu, 01 March 2007 19:45
Originally posted by: maik20.gmx.de|
I am new to TPTP and tried a basic memory analysis on my project. But it
FATAL ERROR: JVMPI, an experimental interface, is no longer supported.
Please use the supported interface: the JVM Tool Interface (JVM TI).
For information on temporary workarounds contact: email@example.com
Error occurred during initialization of VM
-Xrun library failed to init: piAgent
Could not resolve to JVMPI interface
What am i doing wrong?
|Re: First steps TPTP [message #92994 is a reply to message #92966]
||Fri, 02 March 2007 11:07
Originally posted by: matthias.goettler.mathema.de|
it seems to me, you are trying to run TPTP on JVMs version 1.5 or higher.
JVMPI was an experimental interface for monitoring VMs until Java 1.4.x.
In 1.5+, the interface name changed to JVMTI (sometimes it's the small
things that make a difference... :-)).
Anyway, you will need some additions to your TPTP installation (e.g. "New
Technology Profiler" it is called). Take a look at the download page and
search for JVMTI.
Furthermore, you will need to use a different parameter to your
application to be profiled during its start: instead of -XrunpiAgent....
it is something like
" -agentlib:JPIBootLoader=JPIAgent:server=standalone,file=trac e.trcxml;CGProf "
(you will only need the quotation marks on UNIX to prevent the shell from
misinterpreting the ';' in the string). This works fine for my deployment,
it does standalone profiling (no eclipse client attached) and writes the
data generated to the file trace.trcxml. This file can be imported into
eclipse lateron. "CGProf" stands for the profiling mode to use, you may
want to change this value to "HeapProf" or "ThreadProf" depending on your
The documentation is a bit "fragmented" on this topic, I know. Anyway, I
hope this is of any help to you.
Powered by FUDForum
. Page generated in 0.05960 seconds