]> Cypherpunks repositories - gostls13.git/commit
runtime: fix memory leak in parallel garbage collector
authorRuss Cox <rsc@golang.org>
Wed, 12 Oct 2011 17:23:34 +0000 (13:23 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 12 Oct 2011 17:23:34 +0000 (13:23 -0400)
commit8219cc9af8a53fa22af2e12631108c85a14b166b
tree62e1b03bc505fc86bac27c22ae34abd2257e127a
parentaf1232fe38b1decdeceaf7dc0050622a79c04b10
runtime: fix memory leak in parallel garbage collector

The work buffer management used by the garbage
collector during parallel collections leaks buffers.
This CL tests for and fixes the leak.

R=golang-dev, dvyukov, r
CC=golang-dev
https://golang.org/cl/5254059
src/pkg/runtime/gc_test.go [new file with mode: 0644]
src/pkg/runtime/mgc0.c
src/run.bash