Skip to content

runtime: store explicit race context in G struct #4286

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

Closed
dvyukov opened this issue Oct 25, 2012 · 1 comment
Closed

runtime: store explicit race context in G struct #4286

dvyukov opened this issue Oct 25, 2012 · 1 comment

Comments

@dvyukov
Copy link
Member

dvyukov commented Oct 25, 2012

Currently race detector uses goroutine id (g->goid) to find goroutine context. It is
slow and imposes limit on total number of goroutines.

Store explicit race context in G struct.
@dvyukov
Copy link
Member Author

dvyukov commented Feb 6, 2013

Comment 1:

This issue was closed by revision 0a40cd2.

Status changed to Fixed.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants