Leo,

  Pls see my responses below. 

 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of LeO Welsch
Sent: Monday, February 05, 2007 1:22 AM
To: tptp-tracing-profiling-tools-dev@eclipse.org
Subject: [tptp-tracing-profiling-tools-dev] Some remarks

 

Hello,

 

After successfully profiling my application (JVMTI), some (additional) 

questions appeared, which I do not know, if I do not find them, have
wrong 

idea, or ...

 

1) Working on my home-computer (in Windows XP), I cannot start the
profiler. 

The main reason I see is, that I have not Network-Address available. It
is a 

standalone-computer.

Q: Does the profiling work anyhow, when the computer has no
network-address 

available? Is this some kind of prerequisite?

[Nagarajan, Guru] This is possible. Thinking about it the Agent
Controller connection is on the basis on the "Host Name" or the "Network
address". 

 

2) When profiling my app, I can run eg. Memory-analysis. When switiching
the 

type to Execution-analysis, no data are displayed on my view. Restart 

Eclipse, then profiling works. Is there a known problem, that the 

data-collection from one type cannot be switched to another type?

Note: The problem only appears with Execution-analysis.

[Nagarajan, Guru] This is a known issue and is to be resolved as soon as
possible.

 

3) My app starts a DB-connection and then retrieves the information via 

DB-statements. Since my app starts therefore a Server, the creation of a


Server-socket might take some time in my code. This time I can hardly 

influence, especially since I am using another Bean.

Problem I am faced with is, that the data-collection slows down my
computer 

and it takes some time for the start-up of my app. Due to this 

time-consumption, the Socket cannot be opened and it run into a timeout.

[Nagarajan, Guru] Can you check your filters to see what classes you are
interested in collecting the information about. If the filter set does
not include the java.net.* package classes. The profiler instruments the
classes specified by the filter and has an impact on your application
start time. Please see the
http://www.eclipse.org/tptp/platform/documents/tutorials/jvmti/Java_Appl
ication_Profiling_using_TPTP-r4-3.html for information on editing your
filters. Let me know if this makes a difference.

Q: Is it possible to start profiling just after a specific line? Resp. 

profile only between two specific line codes? (Similar like Debugging)

[Nagarajan, Guru] We do not currently support this feature. This is also
referred to as the "Code fragment" profiling. There is an enhancement
request for this.

 

4) Collecting data with time-execution and time-profile, execution flow,
I 

get some nice graph and some nice time-lines. Is there a way to detect
which 

time-line belongs to which method/class? Cause this information is quite


bulky.

 

:)

[Nagarajan, Guru] Yes you can - you can pick a method in the Interaction
diagrams and go to the selected method. 

LeO

 

_________________________________________________________________

Express yourself instantly with MSN Messenger! Download today it's FREE!


http://messenger.msn.click-url.com/go/onm00200471ave/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