-
Notifications
You must be signed in to change notification settings - Fork 18k
runtime: function referenced by a function is not GC'd #5493
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
Labels
Milestone
Comments
All right, I think I was on to something, but reduced my test case too far. I believe this demonstrates the issue: http://play.golang.org/p/-XkxEXbpVh |
Owner changed to @dvyukov. Status changed to Started. |
This issue was closed by revision 1308194. Status changed to Fixed. |
This bug can result in garbage going uncollected indefinitely. I've observed tasks with hundreds of MB of uncollected and uncollectable garbage as a result of it. Without offering an opinion on whether that's worthy of inclusion in Go 1.1.1, I would say that this is more significant than just affecting when finalizers run. |
adg
added a commit
that referenced
this issue
May 11, 2015
…of the closure ««« CL 9557043 / 2c128d417029 runtime: zeroize g->fnstart to not prevent GC of the closure Fixes #5493. R=golang-dev, minux.ma, iant CC=golang-dev https://golang.org/cl/9557043 »»» R=dvyukov, iant, minux.ma, bradfitz, dave CC=golang-dev https://golang.org/cl/10031043
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: