aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/malloc2.go
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2015-01-15 08:26:01 -0800
committerBrad Fitzpatrick <bradfitz@golang.org>2015-01-15 16:31:52 +0000
commitee3a1ff6fd11cd8fab3d3f416c85816af7bef4d1 (patch)
tree3bc5d4b6882a6014b86df2167c1c9e18123d6ce8 /src/runtime/malloc2.go
parent25ece4ae4477ca03e2cdcb3c924cfd4fd7d7092b (diff)
downloadgo-ee3a1ff6fd11cd8fab3d3f416c85816af7bef4d1.tar.xz
all: update old comments referencing *.goc files
Change-Id: Ibf05e55ffe3bb454809cd3450b790e44061511c7 Reviewed-on: https://go-review.googlesource.com/2890 Reviewed-by: Alan Donovan <adonovan@google.com>
Diffstat (limited to 'src/runtime/malloc2.go')
-rw-r--r--src/runtime/malloc2.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/malloc2.go b/src/runtime/malloc2.go
index 91309fd849..eb1c759c0b 100644
--- a/src/runtime/malloc2.go
+++ b/src/runtime/malloc2.go
@@ -104,7 +104,7 @@ const (
// Tunable constants.
_MaxSmallSize = 32 << 10
- // Tiny allocator parameters, see "Tiny allocator" comment in malloc.goc.
+ // Tiny allocator parameters, see "Tiny allocator" comment in malloc.go.
_TinySize = 16
_TinySizeClass = 2
@@ -322,7 +322,7 @@ type mcache struct {
next_sample int32 // trigger heap sample after allocating this many bytes
local_cachealloc intptr // bytes allocated (or freed) from cache since last lock of heap
// Allocator cache for tiny objects w/o pointers.
- // See "Tiny allocator" comment in malloc.goc.
+ // See "Tiny allocator" comment in malloc.go.
tiny unsafe.Pointer
tinyoffset uintptr
local_tinyallocs uintptr // number of tiny allocs not counted in other stats