aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/malloc2.go4
-rw-r--r--src/runtime/noasm.go1
2 files changed, 2 insertions, 3 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
diff --git a/src/runtime/noasm.go b/src/runtime/noasm.go
index c5ef672432..7ffde37992 100644
--- a/src/runtime/noasm.go
+++ b/src/runtime/noasm.go
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
// Routines that are implemented in assembly in asm_{amd64,386}.s
-// but are implemented in Go for arm.
// +build arm ppc64 ppc64le