javaone 2012 presentation on Diagnosing Your Application on the JVM : Question on attach on Windows
Bacchu, Anjan
anjan.bacchu at hpe.com
Wed Mar 30 07:40:34 UTC 2016
Hi Staffan,
I just now saw the presentation slides at http://www.slideshare.net/stalar/diagnosing-your-application-on-the-jvm.
On Slide 16 of the presentation, you show the details of the "HotSpot Dynamic Attach Mechanism" for Windows.
1) You talk about Remote process injecting code into the JVM using combination of VirtualAllocEx and
2) WriteProcessMemory. Further it goes ahead and creates a Remote thread in the JVM to call above code.
Do you have some sample code which does this, to say, dump the heap ?
I used to develop windows application long ago and just from the slide #16 and http://openjdk.java.net/groups/hotspot/docs/Serviceability.html#battach, I'm unable to proceed further.
All help will be useful.
Thank you very much,
BR,
~A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20160330/7d871c4d/attachment-0001.html>
More information about the serviceability-dev
mailing list