[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.tptp] Re: unknown classes and methods when profiling with Java 6, Eclipse 3.5, TPTP 4.6
|
Hi Khilan,
This sounds like a bug to me, I have reproduced the problem and opened bug
285330 for the problem.
Eugene
"Khilan" <khilan@xxxxxxxxxxxx> wrote in message
news:0c19e55e651d7212aedb9e068d0a09ae$1@xxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxx> wrote in message
>> news:085f5c89b9bc18a601999426ba607a0c$1@xxxxxxxxxxxxxxxxxx
>>> 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
>>>
>
>