LeO,

Thank you for your interest in the TPTP Java Profiler. I am sorry to
hear that you encounter some problems when trying to use our tools, and
I'll try to help:

First, with regard to packaging, you are absolutely right. Installing
and configuring the new Java 5+ (JVMTI) Profiler still requires multiple
downloads. This is, however, expected from a Tech Preview project, and
we are working hard to streamline this process for version 4.4.

The problem you describe seems to be a configuration problem. I suggest
you will take a look at the user's guide attached to Bugzilla 165579
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=165579) and follow the
installation and configuration instructions. Make sure to install the
New Technology Agent Controller and the JVMTI Profiler runtime. The
JPIBootLoader.dll library is part of this runtime, and must be installed
along with the rest of the runtime libraries to the proper plugin
directory of the New Technology Agent Controller. Also, note that the
Java 5+ profiler currently requires the New Technology Agent Controller,
and cannot work with the old AC or with the Integrated AC. 
After installing and configuring everything, create a profiling launch
configuration for your regular/local Java application, switch to the
Monitor tab, select "Java Profiling with Instrumentation" and select the
analysis type you want (CPU, Heap or Thread). Then click the Profile
button and you are good to go. Note that the Profiling and Logging
perspective may not open automatically (a known problem with the Java 5+
Profiler Client) so you will need to open it manually.

One more comment with regard to Java 6: the Java 5+ Profiler does not
currently support the Java 6 file format. Therefore, if you're using JDK
6 for development, make sure to compile your Java classes in Java 5
compatibility mode. You can find more information on Java 6 support
here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=148936

HTH,
Asaf

-- 
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of LeO Welsch
Sent: Thursday, January 18, 2007 12:07 PM
To: tptp-tracing-profiling-tools-dev@eclipse.org
Subject: [tptp-tracing-profiling-tools-dev] Profiling with Mustang

Has anybody already tried to profile a Java application within Eclipse?
I 
look on the Internet and find several Tutorials, but none for a regular 
application built within Eclipse. Well perhaps the problem is the 
JVMTI-interface, I do not know.

I am currently running Java 1.6 on my Windows system and have installed
the 
total (?) all-in-one package from Jan. 08, 07. I want to profile my
project 
which launche a regular Java-application. I know, I have to install
JVMTI, 
the AgentController and ??? (Any reasons, why these apps are not
inlcuded in 
a *total* *all-in-one*-package? For Mustang I guess, they have to be
there, 
or do I miss something?)

Frankly said, I have no idea, how get e.g. CPU-load, Line coverage, 
Memory-usage etc.etc. after hours of try, try, try.

What I do is, Try starting with 'Java Profiling with Instrumentation', 
select Memory-usage and then I get

Error occurred during initialization of VM
Could not find agent library on the library path or in the local
directory: 
JPIBootLoader

=> ??? what next ??? Searching for the JPIBootLoader, on Google I only
came 
across problems with the JBoss or EE, which I both do NOT use. Just a 
regular Java-application within a Java-project in Eclipse.

When I try to use the Statistcal method, I select Prefmon for Windows, 
launch the Profiler and nothing happens. I guess I have to do something,
but 
what? Stop the AC-Server??? Where to find a tutorial about the
'Statistical 
methods'????? Cause my application do not launch!

??? (Help would really be appreciated, as long as it has to to with
JVMTI 
and NOT JVMPI!) ???

LeO

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-de
v
_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev

Reply via email to