OpenJDK Eclipse调试设置

2017-07-18  本文已影响0人  huiwq1990

Main设置

/home/hg/Desktop/jdk8u/build/linux-x86_64-normal-server-slowdebug/jdk/bin/java
image.png

参数设置

image.png

Eclipse环境变量

LD_LIBRARY_PATH=/home/hg/Desktop/jdk8u/build/linux-x86_64-normal-server-slowdebug/hotspot/linux_amd64_compiler2/debug
JAVA_HOME=/home/hg/Desktop/jdk8u/build/linux-x86_64-normal-server-slowdebug/jdk/
CLASSPATH=.:/home/hg/Desktop/project/  
image.png

断点

hotspot/src/share/vm/runtime/thread.cpp
217行

参考

https://my.oschina.net/haogrgr/blog/414825

上一篇下一篇

猜你喜欢

热点阅读