aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/malloc.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/runtime/malloc.go b/src/runtime/malloc.go
index 14bf9a583f..eb24fdb0e8 100644
--- a/src/runtime/malloc.go
+++ b/src/runtime/malloc.go
@@ -110,18 +110,12 @@ import (
)
const (
- debugMalloc = false
-
maxTinySize = _TinySize
tinySizeClass = _TinySizeClass
maxSmallSize = _MaxSmallSize
pageShift = _PageShift
pageSize = _PageSize
- pageMask = _PageMask
- // By construction, single page spans of the smallest object class
- // have the most objects per span.
- maxObjsPerSpan = pageSize / 8
concurrentSweep = _ConcurrentSweep