]> Cypherpunks repositories - gostls13.git/commit
runtime: fix non-concurrent sweep
authorRuss Cox <rsc@golang.org>
Wed, 12 Feb 2014 20:54:21 +0000 (15:54 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 12 Feb 2014 20:54:21 +0000 (15:54 -0500)
commit73a304356bd1edfac204c639859a01643a3f8955
tree7470dad2f9f2c546e0be2a014d2c5bcddfed0525
parentb2cac62f9b75f78ae16f5ae72d565d9ebc862199
runtime: fix non-concurrent sweep

State of the world:

CL 46430043 introduced a new concurrent sweep but is broken.

CL 62360043 made the new sweep non-concurrent
to try to fix the world while we understand what's wrong with
the concurrent version.

This CL fixes the non-concurrent form to run finalizers.
This CL is just a band-aid to get the build green again.

Dmitriy is working on understanding and then fixing what's
wrong with the concurrent sweep.

TBR=dvyukov
CC=golang-codereviews
https://golang.org/cl/62370043
src/pkg/runtime/mgc0.c