Hi,
I have been trying to deploy the most recent version of JBoss Profiler on JBoss 3.2.5JVM 1.5/RedHat EL 3.0.
The Ant build of the source files and GCC/G++ compilation of jbossInspector passed without any problems. I had to use the latest Ant 1.6.x version. Otherwise there were exceptions related to javah tasks.
Anyway, I have added the JVM setting,
-XrunjbossInspector:,<options...>,
for the profiler to the list of arguments starting JBoss.
This is the error I have received:
Error occurred during initialization of VM
JVMPI not supported with this garbage collector; please refer to the GC/JVMPI documentation
The GC in question is
-XX:+UseParallelGC -XX:+UseAdaptiveSizePolicy
While trying to find more information on the Internet on this topic I came across another profiler based on JVMPI
http://starship.python.net/crew/garyp/jProf.html
which says the following:
----------------------------------------------------------------------------------
jProf has been retired. The code is too old to be useful now (4 years is a long time in Java) and the JVMPI interface on which jProf depends is (finally) being replaced with a more modern interface.
Apologies for any disappointment, but it really is too old to be useful.
----------------------------------------------------------------------------------
Java 1.5 is integrating JMX for monitoring and managing Java applications. Unfortunately the built in monitoring capabilities of Java 1.5 don't work with JBoss at the moment.
But my question is related to JVMPI. It looks like JVMPI technology is becoming obsolete.
Does it make a sense to create a profiler based on this technology?
Thanks,
Dimitar