Saturday 7 March 2009

Profiler for Eclipse Java Development Tool

TPTP, as java profiler for eclipse, so far version 4.5.2, still relies on very old gcc, libstdc++2.10-glibc2.2.
To solve this, compat-libstdc++ should be installed for the compatibility.

To get more statistics result, besides TPTP project, try to install more modules, such as trace, logging tools etc.

Note:
=============
1) For Ubuntu, the above gcc binary is not available in the repository any more. But google it will find some downloads: http://packages.ubuntu.com/gutsy/i386/libstdc++2.10-glibc2.2/download

2) For Ubuntu, Tptp also using java 1.5 to capture the jvm information. If got error message like : "ERROR: JVMPI, an experimental interface, is no longer supported.". The fix is:
Go to eclipse/plugins/org.eclipse.tptp.platform.ac.linux_ia32_4.4.1.v200808290100/agent_controller/bin, and edit the files ACStart.sh, ACStop.sh. In first line, when it says #!/bin/sh, it should say #!/bin/bash.
Otherwise, just use 'netbeans' to profile your java programs :)

No comments:

My photo
London, United Kingdom
twitter.com/zhengxin

Facebook & Twitter