[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,
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
>