0
0
0xC0CAC01A2013-03-13 17:50:37
Java
0xC0CAC01A, 2013-03-13 17:50:37

How to connect to JVM to log all accesses to internal memory?

For a research project (I’ll say right away that it’s not reverse engineering), you need to log all calls of an application written in Java to its internal memory. Is there some API like hooks in Windows?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
W
Walrus, 2013-03-15
@Walrus

JVMTI

G
golden13, 2013-03-13
@golden13

Dig in the direction of Java profiling (jmap, jhat, visalvm, etc.)
True, you will have to rake a lot there.

D
dginz, 2013-11-22
@dginz

For all debugger-like purposes, Oracle recommends JDI: http://docs.oracle.com/javase/1.5.0/docs/guide/jpda/jdi/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question