sync: mutex profiling information is confusing (wrong?) for mutexes with >2 contenders #24877
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
go/src/runtime/sema.go
Line 340 in 2b2348a
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?(lldb) plat sh go version go version go1.10.1 darwin/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?What did you do?
What did you expect to see?
That one func was contended for twice as long as the other: e.g.
What did you see instead?
Analysis
I believe the cause is the linked line number, I am not sure why the next sudog (t) should be considered to have start waiting from the time first sudog (s) is released
The text was updated successfully, but these errors were encountered: