On Wednesday, 29 March 2006 00:53, Ben Hartshorne wrote:
> can this probe get things like stats on the garbage collector (avg
> time spent in GC, etc.)

        Unfortunately no. :(

        I did some research on how that would be possible and I come up with 
two options:
        - using JVMPI
        - using a Java app running inside the same JVM and using 
java.lang.Runtime.

        the first options seams to have a big effect on performance (at least 
according to some project that are using it [1, 2]). The latter choice 
didn't give any interesting information: memory info and the ability to 
trace instructions or methods. As far as I know tracing a application 
has a big performance penalty, so it was not an option that I could 
use.

        If anyone knows a way to get this information from the JVM in a fast, 
performance effective way I'll be really glad to hear it.

                                Miguel Tavares

[1] http://www.khelekore.org/jmp/performance.html
[2] http://oss.metaparadigm.com/jmemprof/


-- 

"Until they become conscious they will never rebel,
 and until after they have rebelled they cannot become conscious."

        - George Orwell's 1984 - 

Attachment: pgpgtyBu6rc23.pgp
Description: PGP signature

Reply via email to