JVM-HSDB use
HSDB
transfer
sudo java -cp /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/lib/sa-jdi.jar sun.jvm.hotspot.HSDB
Find class information
- Use jps to find out the id of the process we want to view
- Use HSDB's File-> attach -> process id
- You can check the address of the meta information of the class through the Class Browser, and you can see the Klass class in the method area.
- Use the tool Inspector, enter the address to find InstanceKlass
Find Oop object
- On the left is the address of the corresponding class, and on the right is the remark