]> Cypherpunks repositories - gostls13.git/commit
runtime: faster allocator, garbage collector
authorRuss Cox <rsc@golang.org>
Thu, 3 Feb 2011 04:03:47 +0000 (23:03 -0500)
committerRuss Cox <rsc@golang.org>
Thu, 3 Feb 2011 04:03:47 +0000 (23:03 -0500)
commit1e063b32cdeaa6e07c8e720823ec5d280145cbcd
tree68d3b99a1c1b54c1c1edf440e23904ec150c59d5
parent6b93a92ac0ef864466254c58ffd1cbc9bc590ebc
runtime: faster allocator, garbage collector

GC is still single-threaded.
Multiple threads will happen in another CL.

Garbage collection pauses are typically
about half as long as they were before this CL.

R=brainman, iant, r
CC=golang-dev
https://golang.org/cl/3975046
13 files changed:
src/pkg/runtime/debug.go
src/pkg/runtime/iface.c
src/pkg/runtime/malloc.goc
src/pkg/runtime/malloc.h
src/pkg/runtime/mcentral.c
src/pkg/runtime/mfinal.c
src/pkg/runtime/mgc0.c
src/pkg/runtime/mheap.c
src/pkg/runtime/mprof.goc
src/pkg/runtime/msize.c
src/pkg/runtime/slice.c
src/pkg/runtime/string.goc
src/pkg/runtime/windows/mem.c