diff options
| author | Jan Ziak <0xe2.0x9a.0x9b@gmail.com> | 2013-02-25 15:58:23 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2013-02-25 15:58:23 -0500 |
| commit | a656f82071c1631ed0aae5c403cf948fc06b52ce (patch) | |
| tree | 02659c81c4c519260fb6a22b65be44429d36f3e5 /src/pkg/runtime/runtime.h | |
| parent | 707ab1347f114934d65b713e22fdd62b4a83ca36 (diff) | |
| download | go-a656f82071c1631ed0aae5c403cf948fc06b52ce.tar.xz | |
runtime: precise garbage collection of channels
This changeset adds a mostly-precise garbage collection of channels.
The garbage collection support code in the linker isn't recognizing
channel types yet.
Fixes issue http://stackoverflow.com/questions/14712586/memory-consumption-skyrocket
R=dvyukov, rsc, bradfitz
CC=dave, golang-dev, minux.ma, remyoudompheng
https://golang.org/cl/7307086
Diffstat (limited to 'src/pkg/runtime/runtime.h')
| -rw-r--r-- | src/pkg/runtime/runtime.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h index 61e33eb95e..6d7a3152ff 100644 --- a/src/pkg/runtime/runtime.h +++ b/src/pkg/runtime/runtime.h @@ -609,6 +609,7 @@ extern int32 runtime·ncpu; extern bool runtime·iscgo; extern void (*runtime·sysargs)(int32, uint8**); extern uint32 runtime·maxstring; +extern uint32 runtime·Hchansize; /* * common functions and data |
