]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1] runtime: do not unset the special bit after finalization.
authorRémy Oudompheng <oudomphe@phare.normalesup.org>
Wed, 13 Jun 2012 20:24:28 +0000 (16:24 -0400)
committerRémy Oudompheng <oudomphe@phare.normalesup.org>
Wed, 13 Jun 2012 20:24:28 +0000 (16:24 -0400)
commitf12183ff6aa3aaa8581e1d1a24735a523ac8ac97
treebfbfc9e45200826b5484497fd8abc1d9a93c5900
parentc8ba37cf377497e73d3d924b06505db63b906fe7
[release-branch.go1] runtime: do not unset the special bit after finalization.

««« backport 4a10c887bb3e
runtime: do not unset the special bit after finalization.

A block with finalizer might also be profiled. The special bit
is needed to unregister the block from the profile. It will be
unset only when the block is freed.

Fixes #3668.

R=golang-dev, rsc
CC=golang-dev, remy
https://golang.org/cl/6249066

»»»
src/pkg/runtime/mfinal.c
src/pkg/runtime/mgc0.c