4min chapter

Signals and Threads cover image

Memory Management with Stephen Dolan

Signals and Threads

CHAPTER

Ocame Collector

A real alligator like the major heap uses are like all heap allocations in sc or ustes, that has to do a certain amount of work. It needs to find somewhere where they fish to avoid using too much memory. One of the advantages of a generational collector is you can defer that work until objects have survived at least one minor collection. That means you use an extremely stupid alligator for the first time round and only if the objects survive, awhile, only then is it worth actually trying to find a permanent home in a fragmented heap for them. In ocame, we have a single lock that separates out different threads to make sure that they don't interact. And one of

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode