diff options
Diffstat (limited to 'src/runtime/malloc.go')
| -rw-r--r-- | src/runtime/malloc.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/runtime/malloc.go b/src/runtime/malloc.go index 48cace9171..a572900eb7 100644 --- a/src/runtime/malloc.go +++ b/src/runtime/malloc.go @@ -1261,10 +1261,6 @@ func mallocgc(size uintptr, typ *_type, needzero bool) unsafe.Pointer { } if debug.malloc { - if debug.allocfreetrace != 0 { - tracealloc(x, size, typ) - } - if inittrace.active && inittrace.id == getg().goid { // Init functions are executed sequentially in a single goroutine. inittrace.bytes += uint64(fullSize) |
