]> Cypherpunks repositories - gostls13.git/commit
runtime: run all finalizers in a single goroutine.
authorRuss Cox <rsc@golang.org>
Fri, 26 Mar 2010 21:15:30 +0000 (14:15 -0700)
committerRuss Cox <rsc@golang.org>
Fri, 26 Mar 2010 21:15:30 +0000 (14:15 -0700)
commit4e28cfe970dad5b5394340f69f131d0e6d3fd678
tree87a976f48acc171305eb7783d22b824092508b68
parent1ec91c8d1d871a8aa3243efef1d329d95e447293
runtime: run all finalizers in a single goroutine.
eliminate second pass of mark+sweep
by scanning finalizer table specially.

R=r
CC=golang-dev
https://golang.org/cl/782041
src/pkg/runtime/extern.go
src/pkg/runtime/malloc.cgo
src/pkg/runtime/malloc.h
src/pkg/runtime/mfinal.c
src/pkg/runtime/mgc0.c
src/pkg/runtime/proc.c
src/pkg/runtime/runtime.h
test/mallocfin.go