summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/mfinal.c
AgeCommit message (Collapse)AuthorFilesLines
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+181
2011-09-13Imported Upstream version 60Ondřej Surý1-181/+0
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý1-2/+3
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý1-8/+6
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-24/+24
2010-04-09runtime: delete malx, skip_depth argument to mallocRuss Cox1-2/+2
remove internal functions from traces in gopprof instead. R=r CC=golang-dev http://codereview.appspot.com/855046
2010-03-26runtime: run all finalizers in a single goroutine.Russ Cox1-22/+38
eliminate second pass of mark+sweep by scanning finalizer table specially. R=r CC=golang-dev http://codereview.appspot.com/782041
2010-03-23runtime: add memory profiling, disabled.Russ Cox1-2/+2
no way to get the data out yet. add prototype for runtime.Callers, missing from last CL. R=r CC=golang-dev http://codereview.appspot.com/713041
2010-03-15runtime: lock finalizer table accessesRuss Cox1-4/+18
R=r CC=golang-dev http://codereview.appspot.com/462043
2010-02-10runtime: delete MHeapMapCache, which is uselessRuss Cox1-1/+1
because free needs to mark the block as freed to coordinate with the garbage collector. (in C++ free can blindly put the block on the free list, no questions asked, so the cache saves some work.) R=iant CC=golang-dev http://codereview.appspot.com/206069
2010-02-10runtime: garbage collection + malloc performanceRuss Cox1-10/+28
* add bit tracking finalizer status, avoiding getfinalizer lookup * add ability to allocate uncleared memory R=iant CC=golang-dev http://codereview.appspot.com/207044
2010-02-08runtime: allow arbitrary return type in SetFinalizer.Russ Cox1-11/+18
finalize chan, to free OS X semaphore inside Lock. os: finalize File, to close fd. Fixes issue 503. R=ken2 CC=golang-dev http://codereview.appspot.com/204065
2010-02-03finalizers; merge package malloc into package runtimeRuss Cox1-0/+127
R=r, cw CC=golang-dev http://codereview.appspot.com/198085