grafana / grafana/pyroscope

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

Open
#3,576 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
11.7k
Forks
802
Avg merge
1d 19h
Merged PRs (30d)
80

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.