Asaf,

Thx for the reply.

Some things are clarifying, nevertheless the whole issue remains still unclear.

1) Reg. JPIBootLoader: Where can this dll be found? Looking on the Download-page I am completely confused. I find:

- Download Eclipse JVMTI Client
- JVMTI Agent Controller extension:

a) Sorry I do not understand the differences between the two options.
b) I have the SDK extracted as well as the Client, but this DLL is not there. So, where to find it????

2) I am as well pretty sure, it is a configuration problem, but I have frankly said not the faintest idea, where to start the whole config-process at all. Should the option with Agent Controller Port work anyhow? Cause, when I change the port in the Preference from e.g. 10002 to 10005 or 10006 I can all the time test the connection with success.

???

Looking in the config-file I find:

<Port>10002</Port>
<SecuredPort>10003</SecuredPort>
<FilePort>10005</FilePort>

which makes me wonder, why 10006 could work anyhow. ANNDD shouldn't 10005 stop working at all?

3) I do not understand what means

if you're using JDK
6 for development, make sure to compile your Java classes in Java 5
compatibility mode

??? Where to find THAT kind of switch? I thougth, I should use the project-Build-path where I define which Java to use. But I guess you are talking about a different option. Which?

4) The main reason why I use 4.4 is I wanna use Eclipse 3.3. But is this something where I to eager to use something not ready for usage?

Thx for reply.

LeO



From: "Yaffe, Asaf" <[EMAIL PROTECTED]>
Reply-To: TPTP Tracing and Profiling Tools Project developer discussions<tptp-tracing-profiling-tools-dev@eclipse.org> To: "TPTP Tracing and Profiling Tools Project developer discussions"<tptp-tracing-profiling-tools-dev@eclipse.org>
Subject: RE: [tptp-tracing-profiling-tools-dev] Profiling with Mustang
Date: Thu, 18 Jan 2007 12:52:53 +0200

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-dev

Reply via email to