func runtime.mallocgc
31 uses
runtime (current package)
chan.go#L99: c = (*hchan)(mallocgc(hchanSize, nil, true))
chan.go#L105: c = (*hchan)(mallocgc(hchanSize+mem, nil, true))
chan.go#L110: c.buf = mallocgc(mem, elem, true)
iface.go#L147: t2 := (*itabTableType)(mallocgc((2+2*t.size)*goarch.PtrSize, nil, true))
iface.go#L344: x := mallocgc(t.Size_, t, true)
iface.go#L360: x := mallocgc(t.Size_, t, false)
iface.go#L372: x = mallocgc(2, uint16Type, false)
iface.go#L385: x = mallocgc(4, uint32Type, false)
iface.go#L404: x = mallocgc(8, uint64Type, false)
iface.go#L423: x = mallocgc(unsafe.Sizeof(val), stringType, true)
iface.go#L443: x = mallocgc(unsafe.Sizeof(val), sliceType, true)
iface.go#L526: newC := (*abi.TypeAssertCache)(mallocgc(newSize, nil, true))
iface.go#L632: newC := (*abi.InterfaceSwitchCache)(mallocgc(newSize, nil, true))
malloc.go#L1010: func mallocgc(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
malloc.go#L1714: return mallocgc(typ.Size_, typ, true)
malloc.go#L1735: return mallocgc(typ.Size_, typ, true)
malloc.go#L1740: return mallocgc(typ.Size_, typ, true)
malloc.go#L1758: return mallocgc(typ.Size_, typ, true)
malloc.go#L1764: return mallocgc(mem, typ, true)
mfinal.go#L239: frame = mallocgc(framesz, nil, true)
slice.go#L57: to = mallocgc(tomem, nil, false)
slice.go#L63: to = mallocgc(tomem, et, true)
slice.go#L116: return mallocgc(mem, et, true)
slice.go#L264: p = mallocgc(capmem, nil, false)
slice.go#L272: p = mallocgc(capmem, et, true)
slice.go#L400: return unsafe.Slice((*byte)(mallocgc(uintptr(cap), nil, false)), cap)[:len]
string.go#L156: p = mallocgc(uintptr(n), nil, false)
string.go#L311: p := mallocgc(uintptr(size), nil, false)
string.go#L318: p := mallocgc(cap, nil, false)
string.go#L333: p := mallocgc(mem, nil, false)
string.go#L352: bp := mallocgc(uintptr(n), nil, false)