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

ReentrantLock and Synchronized in Pyroscope-Java: Block vs Mutex Classification #3576

Open
wang-qijia opened this issue Sep 20, 2024 · 0 comments

Comments

@wang-qijia
Copy link

wang-qijia commented Sep 20, 2024

After integrating pyroscope-java into the Java service, I found that the analysis data for ReentrantLock and synchronized appear in the block and mutex types respectively. Based on mutex classification, shouldn't they both be categorized under the mutex analysis type? Perhaps I misunderstand something. Please help clarify.

If the blocking is caused by the mutex lock synchronized, will it be included in the block type? Please help explain the relationship between block and mutex.

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

1 participant