How to monitor heap access from native threads

Colin(Du Li) dawn2004 at
Thu Apr 1 10:08:40 PDT 2010

Dear all,

I wanna monitor all the heap access from native threads.
Native threads can access JVM heap in two ways:
1. through JNI function. this will be easier to monitor, and we can
instrument the jni function to record the access.
2. Native threads can also get a raw pointer to  an objects, then they can
access the heap through the raw pointer. For this case, I don't know how to
capture and record them.

Can anyone give some idea to monitor the memory access from native threads?
Any third-party tools I can leverage?


View this message in context:
Sent from the OpenJDK Hotspot Garbage Collection mailing list archive at

More information about the hotspot-gc-dev mailing list