How to monitor heap access from native threads
Colin(Du Li)
dawn2004 at gmail.com
Thu Apr 1 17:08:40 UTC 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?
Thanks.
Colin
--
View this message in context: http://old.nabble.com/How-to-monitor-heap-access-from-native-threads-tp28111314p28111314.html
Sent from the OpenJDK Hotspot Garbage Collection mailing list archive at Nabble.com.
More information about the hotspot-gc-dev
mailing list