Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Instance Name field is always blank if the jdk version is 1.5
Instance Name field is always blank if the jdk version is 1.5 [message #467839] Mon, 03 August 2009 06:20 Go to next message
Anand  is currently offline Anand Friend
Messages: 6
Registered: July 2009
Junior Member
1."Instance Name" column in Execution Flow > Execution Time Analysis,
Method Invocation > Execution Statistics > Execution Time Analysis is
always blank on jdk 1.5, but if I run tptp on jdk 1.4 in the Edit
Options I can select ‘Collect Instance Level Information’ the instance
name is shown correctly.why this option is removed in jdk 1.5?

What shall I do to get the instance name on jdk 1.5?

2.Not clear about 'Percent per thread in Call Tree > Execution
Statistics' on tptp 4.5.1.Start expanding the nodes of the tree looking at
the Percent Per Thread column of the table and selecting the node with the
highest percent, but the percent per thread is always 100%

3. Collect Object References , Object References/referrers not shown in
details in jdk1.5
Re: Instance Name field is always blank if the jdk version is 1.5 [message #468121 is a reply to message #467839] Tue, 04 August 2009 09:22 Go to previous messageGo to next message
Chengrui Deng is currently offline Chengrui DengFriend
Messages: 5
Registered: July 2009
Junior Member
(1) Empty Instance Name:
TPTP uses JVMPI in before. JVMTI is used from Java 1.5. I also found the
problem you described. It needs to be investigated further. Maybe others
can give a help :)

(2) Percentage bar in Call Tree Tab
You can find the descriptions in Eclipse Help document about Call Tree:
"Monitoring and profiling applications > Monitoring and profiling
applications > Profiling an application > Profiling views > Using the
Execution Statistics view"

The percentage means the methods spend in a specific thread. But the
statistics seems strange because each thread instance shows 100%. I think
this is a defect.

(3) Objects allocation details info:
Please make sure memory anlysis option "Track object allocation sites"
(leve of detail) is checked before start profiling.
Re: Instance Name field is always blank if the jdk version is 1.5 [message #468126 is a reply to message #468121] Tue, 04 August 2009 10:06 Go to previous messageGo to next message
Mauro Molinari is currently offline Mauro MolinariFriend
Messages: 282
Registered: July 2009
Senior Member
Chengrui Deng ha scritto:
> (2) Percentage bar in Call Tree Tab
> You can find the descriptions in Eclipse Help document about Call Tree:
> "Monitoring and profiling applications > Monitoring and profiling
> applications > Profiling an application > Profiling views > Using the
> Execution Statistics view"
>
> The percentage means the methods spend in a specific thread. But the
> statistics seems strange because each thread instance shows 100%. I
> think this is a defect.

From what I could understand, each thread shows 100% because it shows a
roll-up value of the time spent by each method executed on THAT thread.
If you expand the thread branch you'll see the percentage of time spent
by each method on that thread and the sum should be 100% (the value
reported on the higher level node). An so on recursively, going down the
tree.

Mauro.
Re: Instance Name field is always blank if the jdk version is 1.5 [message #468319 is a reply to message #468126] Wed, 05 August 2009 02:33 Go to previous message
Chengrui Deng is currently offline Chengrui DengFriend
Messages: 5
Registered: July 2009
Junior Member
It is no problem if time spent in each thread is considered as 100%.
However, all percentage sum of children nodes is not 100%. This is a
defect. E.g., I profile with a test case StartStop.java in TPTP test
suite. When profiling finish, two threads nodes are shown - main and
DestroyJavaVM. Their percentage data are as below:

[Thread Node]main 100.00%
|-main 95.2%
|-loadClassInternal 4.96%
|-String 0.01%
|-getProperty 0.01%
|-...(all left nodes are 0.00%)

[Thread Node]DestroyJavaVM 100.00%
|--clinit- 3.30%
|-Thread 0.54%
|-shutdown 0.15
|-add 0.02

You can find that total sum of "DestroyJavaVM" thread children is less
than 10%! It may confuse the TPTP users.
Previous Topic:Bug 280841 doesn't seem to be fixed for me....
Next Topic:Test with JUnit4 in an EMF project
Goto Forum:
  


Current Time: Mon Dec 22 20:43:08 GMT 2014

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

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