Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

检测是否有限制的 #1

Open
kevinfen9 opened this issue Dec 29, 2019 · 1 comment
Open

检测是否有限制的 #1

kevinfen9 opened this issue Dec 29, 2019 · 1 comment

Comments

@kevinfen9
Copy link

本地测试只有synchronize锁能检测到,ReentraceLock类型的锁无法检测到,wait+notify的也无法检测到,这个符合预期吗?

@zkwlx
Copy link
Owner

zkwlx commented Dec 31, 2019

符合预期,JVM 针对 synchronized 关键字的实现有对应的 Monitor 对象,JVMTI 目前只提供了 Monitor 对象的监控

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants