Become a member
Sign in
Galeno
Galeno

Galeno

34 Following
7 Followers
·
  • Profile
  • Highlights

Featured

Highlighted by Galeno

See more

From A visual guide to Go Memory Allocator from scratch (Golang) by Ankur Anand

As we can see from the above illustration mheap has an array of mcentral. This array contains mcentral of each span class.

From A visual guide to Go Memory Allocator from scratch (Golang) by Ankur Anand

As Go manages pages at the granularity of 8192B if this page is divided into a block size of 1kB we get a total of 8 such blocks within that page for example.