]> Cypherpunks repositories - gostls13.git/commit
undo CL 104200047 / 318b04f28372
authorKeith Randall <khr@golang.org>
Tue, 1 Jul 2014 02:48:08 +0000 (19:48 -0700)
committerKeith Randall <khr@golang.org>
Tue, 1 Jul 2014 02:48:08 +0000 (19:48 -0700)
commit3cf83c182af504bcffb82f3fc78a0c8b0ffb3aaa
treec923b6b2d823f08671bb8477dcb1757fda604b61
parent7c13860cd08352e785002cb97bd3baafd370e8bc
undo CL 104200047 / 318b04f28372

Breaks windows and race detector.
TBR=rsc

««« original CL description
runtime: stack allocator, separate from mallocgc

In order to move malloc to Go, we need to have a
separate stack allocator.  If we run out of stack
during malloc, malloc will not be available
to allocate a new stack.

Stacks are the last remaining FlagNoGC objects in the
GC heap.  Once they are out, we can get rid of the
distinction between the allocated/blockboundary bits.
(This will be in a separate change.)

Fixes #7468
Fixes #7424

LGTM=rsc, dvyukov
R=golang-codereviews, dvyukov, khr, dave, rsc
CC=golang-codereviews
https://golang.org/cl/104200047
»»»

TBR=rsc
CC=golang-codereviews
https://golang.org/cl/101570044
src/pkg/runtime/malloc.h
src/pkg/runtime/mcache.c
src/pkg/runtime/mcentral.c
src/pkg/runtime/mem.go
src/pkg/runtime/mgc0.c
src/pkg/runtime/mheap.c
src/pkg/runtime/proc.c
src/pkg/runtime/runtime.h
src/pkg/runtime/stack.c
src/pkg/runtime/stack_test.go