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

runtime: update go doc on runtime.gcMarkRootPrepare #35683

Closed
Petelin opened this issue Nov 19, 2019 · 2 comments

Comments

@Petelin
Copy link

@Petelin Petelin commented Nov 19, 2019

// gcMarkRootPrepare queues root scanning jobs (stacks, globals, and
// some miscellany) and initializes scanning-related state.
//
// The caller must have call gcCopySpans().
//
// The world must be stopped.
//
//go:nowritebarrier
func gcMarkRootPrepare() {

this gcCopySpans() already not exist.

@ianlancetaylor ianlancetaylor changed the title update go doc on runtime.gcMarkRootPrepare runtime: update go doc on runtime.gcMarkRootPrepare Nov 19, 2019
@ianlancetaylor ianlancetaylor added this to the Backlog milestone Nov 19, 2019
@ianlancetaylor

This comment has been minimized.

Copy link
Contributor

@ianlancetaylor ianlancetaylor commented Nov 19, 2019

@gopherbot

This comment has been minimized.

Copy link

@gopherbot gopherbot commented Dec 4, 2019

Change https://golang.org/cl/209917 mentions this issue: runtime: remove comment about gcCopySpans()

@gopherbot gopherbot closed this in cdf3db5 Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.