Java 6 Support in the TPTP 4.3 Profilers [message #90114] |
Wed, 13 December 2006 08:51 |
Eclipse User |
|
|
|
Hi Everyone!
Recently, many people are asking whether the TPTP Java Profiler supports
Java 6.
The answer has two parts:
1. The built-in Java Profiler in TPTP 4.3 (and earlier versions) does
not support Java 6. It is based on the JVMPI interface which was
discontinued in Java 6. If you are planning to use this profiler, switch
to a Java 5 or a Java 1.4.x VM. Any attempt to launch this profiler
under a Java 6 VM will result in an error such as "FATAL ERROR: JVMPI,
an experimental interface, is no longer supported."
2. TPTP 4.3 is shipped with a Technology Preview Java Profiler based on
the newer JVMTI interface. The release is available under the Technology
Previews section of the TPTP 4.3 download page, and requires the New
Technology Agent Controller to be installed. The new JVMTI Profiler was
tested and verified with popular Java 5 VMs. It is currently being
tested with Java 6, but we do not have conclusive results yet. In
general, we expect the profiler to work with the Java 6 runtime as long
as the executed Java application was compiled for Java 5 or Java 1.4
VMs. The reason is that the Java 6 compiler emits new attribute which is
not yet supported by our instrumentation engine. Therefore, attempts to
launch either the CPU Profiler or the Heap Profiler on a Java
application compiled with a Java 6 compiler is likely to cause
runtime/verification errors. Note that the Thread Profiler should work
fine for these types of applications because it is not using
instrumentation.
Our Java 6 effort and progress are tracked under Bugzilla
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=148936). Feel free to add
yourself to the CC list.
Thank you for helping making the TPTP Project better!
Regards,
Asaf
--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
|
|
|
Powered by
FUDForum. Page generated in 0.08426 seconds