Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » First steps TPTP
First steps TPTP [message #92966] Thu, 01 March 2007 19:45 Go to next message
Eclipse UserFriend
Originally posted by: maik20.gmx.de

I am new to TPTP and tried a basic memory analysis on my project. But it
wont work:

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: jvmpi_eol@sun.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 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: matthias.goettler.mathema.de

Hi Maik,

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
task.

The documentation is a bit "fragmented" on this topic, I know. Anyway, I
hope this is of any help to you.

Bye
Matthias
Re: First steps TPTP [message #93123 is a reply to message #92994] Tue, 06 March 2007 00:12 Go to previous message
Asaf Yaffe is currently offline Asaf YaffeFriend
Messages: 333
Registered: July 2009
Senior Member
Hi,

I was very delighted to see that a question about the new JVMTI profiler
was answered by a community member. Way to go!

Just wanted to add a few things to this post:

1. The transition from JVMPI to JVMTI is not just a name change. It is a
radically different interface. Hence, the TPTP project has decided that
the best way to support this is to create a new profiler runtime that
can efficiently utilize this new interface.

2. Up to TPTP 4.3 - the JVMTI runtime component is available as a
separate download under the Technology Previews section. Beginning with
TPTP 4.4 - the JVMTI runtime components are integrated with the New
Agent Controller. There is no separate download. Just download and
install the New Agent Controller.

3. I agree that the documentation is a bit fragmented now. We hope this
will improve in the TPTP 4.4 release. In the meantime, please refer to
the README file in the <New Agent
Controller>\plugins\org.eclipse.tptp.javaprofiler for more information
on how to use the JVMTI profiler in "standalone" mode.

If you have any other questions - please post them here and we'll be
happy to assist.

Thanks for using TPTP.

Asaf

--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
Previous Topic:JVM arguments for the workspace started by AGR
Next Topic:piAgent not found
Goto Forum:
  


Current Time: Tue Mar 19 03:42:01 GMT 2024

Powered by FUDForum. Page generated in 0.02116 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top