Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » unknown classes and methods when profiling with Java 6, Eclipse 3.5, TPTP 4.6
unknown classes and methods when profiling with Java 6, Eclipse 3.5, TPTP 4.6 [message #373469] Wed, 29 July 2009 14:40 Go to next message
Eclipse UserFriend
Originally posted by: khilan.doc.ic.ac.uk

Dear all,

I'm a newbie to TPTP and have run into a problem with unknown classes and
methods. I'm using Eclipse 3.5 with Java 6 and TPTP 4.6 on Ubuntu Jaunty
9.04 to profile a simple application:

public static void main(String[] args) {
System.out.println();
}

I profile this as a Java Application and am performing an Execution Time
Analysis with "Collect method CPU time information" unchecked and "Show
execution flow graphical details" checked. Furthermore, I have defined a
filter "No Filter" which contains the single rule "Classes: *, Methods: *,
Rule: INCLUDE".

In the profiler output, the following packages appear:
default
java.net
java.nio
java.nio.charset
java.util
sun.jkernel
sun.misc
sun.net.www
sun.net.www.protocol.file
sun.security.provider
sun.security.util

This gives me confidence that the filter is working. However, the java.io
package doesn't appear and instead there are a number of "unknown" classes
listed in the default package. Also, when looking at the call tree, there
are "unknown" methods too, which I'm guessing belong to these unknown
classes.

I've also tried using Java 5 (with Eclipse 3.5 and TPTP 4.6) but I still
get the same problem.

Any help would be appreciated,

Thanks,
Khilan
Re: unknown classes and methods when profiling with Java 6, Eclipse 3.5, TPTP 4.6 [message #375031 is a reply to message #373469] Wed, 29 July 2009 17:39 Go to previous messageGo to next message
Eugene Chan is currently offline Eugene ChanFriend
Messages: 287
Registered: July 2009
Senior Member
Hi Khilan,

Even tho you have specify your profiling session to collect all data, there
are certain classes in the JRE being filtered out by default with the
limitation of the profiler. Unknown methods may result with method defintion
or method entry events being missed by the profiler before the profiler
starts collecting.

Eugene


"Khilan" <khilan@doc.ic.ac.uk> wrote in message
news:085f5c89b9bc18a601999426ba607a0c$1@www.eclipse.org...
> Dear all,
>
> I'm a newbie to TPTP and have run into a problem with unknown classes and
> methods. I'm using Eclipse 3.5 with Java 6 and TPTP 4.6 on Ubuntu Jaunty
> 9.04 to profile a simple application:
>
> public static void main(String[] args) {
> System.out.println();
> }
>
> I profile this as a Java Application and am performing an Execution Time
> Analysis with "Collect method CPU time information" unchecked and "Show
> execution flow graphical details" checked. Furthermore, I have defined a
> filter "No Filter" which contains the single rule "Classes: *, Methods: *,
> Rule: INCLUDE".
>
> In the profiler output, the following packages appear:
> default
> java.net
> java.nio
> java.nio.charset
> java.util
> sun.jkernel
> sun.misc
> sun.net.www
> sun.net.www.protocol.file
> sun.security.provider
> sun.security.util
>
> This gives me confidence that the filter is working. However, the java.io
> package doesn't appear and instead there are a number of "unknown" classes
> listed in the default package. Also, when looking at the call tree, there
> are "unknown" methods too, which I'm guessing belong to these unknown
> classes.
>
> I've also tried using Java 5 (with Eclipse 3.5 and TPTP 4.6) but I still
> get the same problem.
>
> Any help would be appreciated,
>
> Thanks,
> Khilan
>
Re: unknown classes and methods when profiling with Java 6, Eclipse 3.5, TPTP 4.6 [message #376839 is a reply to message #375031] Wed, 29 July 2009 20:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: khilan.doc.ic.ac.uk

Hi Eugene,

Thanks for the reply. I modified the program to accept a keystroke before
calling println():

public static void main(String[] args) {
System.in.read();
System.out.println();
}

I was hoping this would give the profiler some time before it had to
collect the data for println(), however I'm still getting unknown classes
and methods. This seems to be the story with eclipse 3.5 and tptp 4.6.

The funny thing is that I tried using Eclipse 3.4 with TPTP 4.5.2.1 and
both java 1.5 and 1.6 and the profiling works in this case (java.io
classes and their methods are there).

Seems like either a problem with eclipse 3.5 or tptp 4.6.

Khilan

Eugene Chan wrote:

> Hi Khilan,

> Even tho you have specify your profiling session to collect all data, there
> are certain classes in the JRE being filtered out by default with the
> limitation of the profiler. Unknown methods may result with method defintion
> or method entry events being missed by the profiler before the profiler
> starts collecting.

> Eugene


> "Khilan" <khilan@doc.ic.ac.uk> wrote in message
> news:085f5c89b9bc18a601999426ba607a0c$1@www.eclipse.org...
>> Dear all,
>>
>> I'm a newbie to TPTP and have run into a problem with unknown classes and
>> methods. I'm using Eclipse 3.5 with Java 6 and TPTP 4.6 on Ubuntu Jaunty
>> 9.04 to profile a simple application:
>>
>> public static void main(String[] args) {
>> System.out.println();
>> }
>>
>> I profile this as a Java Application and am performing an Execution Time
>> Analysis with "Collect method CPU time information" unchecked and "Show
>> execution flow graphical details" checked. Furthermore, I have defined a
>> filter "No Filter" which contains the single rule "Classes: *, Methods: *,
>> Rule: INCLUDE".
>>
>> In the profiler output, the following packages appear:
>> default
>> java.net
>> java.nio
>> java.nio.charset
>> java.util
>> sun.jkernel
>> sun.misc
>> sun.net.www
>> sun.net.www.protocol.file
>> sun.security.provider
>> sun.security.util
>>
>> This gives me confidence that the filter is working. However, the java.io
>> package doesn't appear and instead there are a number of "unknown" classes
>> listed in the default package. Also, when looking at the call tree, there
>> are "unknown" methods too, which I'm guessing belong to these unknown
>> classes.
>>
>> I've also tried using Java 5 (with Eclipse 3.5 and TPTP 4.6) but I still
>> get the same problem.
>>
>> Any help would be appreciated,
>>
>> Thanks,
>> Khilan
>>
Re: unknown classes and methods when profiling with Java 6, Eclipse 3.5, TPTP 4.6 [message #445981 is a reply to message #376839] Fri, 31 July 2009 20:45 Go to previous messageGo to next message
Eugene Chan is currently offline Eugene ChanFriend
Messages: 287
Registered: July 2009
Senior Member
Hi Khilan,

This sounds like a bug to me, I have reproduced the problem and opened bug
285330 for the problem.

Eugene


"Khilan" <khilan@doc.ic.ac.uk> wrote in message
news:0c19e55e651d7212aedb9e068d0a09ae$1@www.eclipse.org...
> Hi Eugene,
>
> Thanks for the reply. I modified the program to accept a keystroke before
> calling println():
>
> public static void main(String[] args) {
> System.in.read();
> System.out.println();
> }
>
> I was hoping this would give the profiler some time before it had to
> collect the data for println(), however I'm still getting unknown classes
> and methods. This seems to be the story with eclipse 3.5 and tptp 4.6.
>
> The funny thing is that I tried using Eclipse 3.4 with TPTP 4.5.2.1 and
> both java 1.5 and 1.6 and the profiling works in this case (java.io
> classes and their methods are there).
>
> Seems like either a problem with eclipse 3.5 or tptp 4.6.
>
> Khilan
>
> Eugene Chan wrote:
>
>> Hi Khilan,
>
>> Even tho you have specify your profiling session to collect all data,
>> there are certain classes in the JRE being filtered out by default with
>> the limitation of the profiler. Unknown methods may result with method
>> defintion or method entry events being missed by the profiler before the
>> profiler starts collecting.
>
>> Eugene
>
>
>> "Khilan" <khilan@doc.ic.ac.uk> wrote in message
>> news:085f5c89b9bc18a601999426ba607a0c$1@www.eclipse.org...
>>> Dear all,
>>>
>>> I'm a newbie to TPTP and have run into a problem with unknown classes
>>> and methods. I'm using Eclipse 3.5 with Java 6 and TPTP 4.6 on Ubuntu
>>> Jaunty 9.04 to profile a simple application:
>>>
>>> public static void main(String[] args) {
>>> System.out.println();
>>> }
>>>
>>> I profile this as a Java Application and am performing an Execution Time
>>> Analysis with "Collect method CPU time information" unchecked and "Show
>>> execution flow graphical details" checked. Furthermore, I have defined a
>>> filter "No Filter" which contains the single rule "Classes: *, Methods:
>>> *, Rule: INCLUDE".
>>>
>>> In the profiler output, the following packages appear:
>>> default
>>> java.net
>>> java.nio
>>> java.nio.charset
>>> java.util
>>> sun.jkernel
>>> sun.misc
>>> sun.net.www
>>> sun.net.www.protocol.file
>>> sun.security.provider
>>> sun.security.util
>>>
>>> This gives me confidence that the filter is working. However, the
>>> java.io package doesn't appear and instead there are a number of
>>> "unknown" classes listed in the default package. Also, when looking at
>>> the call tree, there are "unknown" methods too, which I'm guessing
>>> belong to these unknown classes.
>>>
>>> I've also tried using Java 5 (with Eclipse 3.5 and TPTP 4.6) but I still
>>> get the same problem.
>>>
>>> Any help would be appreciated,
>>>
>>> Thanks,
>>> Khilan
>>>
>
>
Re: unknown classes and methods when profiling with Java 6, Eclipse 3.5, TPTP 4.6 [message #479541 is a reply to message #445981] Tue, 11 August 2009 13:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: khilan.doc.ic.ac.uk

Hi Eugene,

When will these fixes be available and how can I obtain them? Also, can I
use tptp 4.5.2.1 with eclipse 3.5?

Khilan
Re: unknown classes and methods when profiling with Java 6, Eclipse 3.5, TPTP 4.6 [message #479625 is a reply to message #479541] Tue, 11 August 2009 18:20 Go to previous message
Eugene Chan is currently offline Eugene ChanFriend
Messages: 287
Registered: July 2009
Senior Member
Hi Khilan,

The bug is fixed in the latest TPTP 4.6.1 and TPTP 4.5.2.1 release.
TPTP 4.5.2.1 is supposed to work with Eclipse 3.4.x platform.

Eugene

"khilan " <khilan@doc.ic.ac.uk> wrote in message
news:b3112ad7d48f67ef8320f84a09d3e0a0$1@www.eclipse.org...
> Hi Eugene,
>
> When will these fixes be available and how can I obtain them? Also, can I
> use tptp 4.5.2.1 with eclipse 3.5?
>
> Khilan
>
Previous Topic:Problem with AGR
Next Topic:Example trcxml file
Goto Forum:
  


Current Time: Sat Dec 20 03:07:28 GMT 2014

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

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