type runtime.mheap
21 uses
runtime (current package)
malloc.go#L629: func (h *mheap) sysAlloc(n uintptr) (v unsafe.Pointer, size uintptr) {
mgcsweep.go#L96: func (h *mheap) nextSpanForSweep() *mspan {
mheap.go#L62: type mheap struct {
mheap.go#L221: var mheap_ mheap
mheap.go#L495: h := (*mheap)(vh)
mheap.go#L701: func (h *mheap) init() {
mheap.go#L735: func (h *mheap) reclaim(npage uintptr) {
mheap.go#L811: func (h *mheap) reclaimChunk(arenas []arenaIdx, pageIdx, n uintptr) uintptr {
mheap.go#L899: func (h *mheap) alloc(npages uintptr, spanclass spanClass, needzero bool) *mspan {
mheap.go#L939: func (h *mheap) allocManual(npages uintptr, typ spanAllocType) *mspan {
mheap.go#L948: func (h *mheap) setSpans(base, npage uintptr, s *mspan) {
mheap.go#L972: func (h *mheap) allocNeedsZero(base, npage uintptr) (needZero bool) {
mheap.go#L1037: func (h *mheap) tryAllocMSpan() *mspan {
mheap.go#L1060: func (h *mheap) allocMSpanLocked() *mspan {
mheap.go#L1092: func (h *mheap) freeMSpanLocked(s *mspan) {
mheap.go#L1124: func (h *mheap) allocSpan(npages uintptr, typ spanAllocType, spanclass spanClass) (s *mspan) {
mheap.go#L1331: func (h *mheap) grow(npage uintptr) bool {
mheap.go#L1408: func (h *mheap) freeSpan(s *mspan) {
mheap.go#L1433: func (h *mheap) freeManual(s *mspan, typ spanAllocType) {
mheap.go#L1440: func (h *mheap) freeSpanLocked(s *mspan, typ spanAllocType) {
mheap.go#L1498: func (h *mheap) scavengeAll() {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |