Cademy logoCademy Marketplace

Course Images

Garbage Collection Algorithms

Garbage Collection Algorithms

🔥 Limited Time Offer 🔥

Get a 10% discount on your first order when you use this promo code at checkout: MAY24BAN3X

  • 30 Day Money Back Guarantee
  • Completion Certificate
  • 24/7 Technical Support

Highlights

  • On-Demand course

  • 2 hours 32 minutes

  • All levels

Description

There are quite a few issues with manual memory management. Therefore, to avoid memory leaks and optimally use your memory, automatic memory management is essential. In this course, we'll learn about garbage collection as a form of automatic memory management.

Memory leaks and dangling pointers are the main issues of manual memory management. If you delete a parent node in a linked list, forgetting to delete all its children first-your memory is leaking. You delete an object chain in the correct order but suddenly, your program crashes since you forgot about the second owner of this resource, which now tries to dereference a null-pointer. To avoid these issues, most modern high-level programming languages implement automatic memory management. You allocate objects manually; however, don't bother with their deallocation: a special program, garbage collector, knows how to automatically deallocate them correctly and reclaim for future reuse. In this course, we'll study all the different techniques and algorithms related to automatic memory management, which are used today in practice.

What You Will Learn

Learn about memory management allocations like Static, Stack, and Heap
Learn the algorithms and data structures behind automatic memory management in computer programs
Learn about virtual memory and memory layout
Learn about semantic and syntactic garbage
Learn about the various kinds of garbage collectors
Learn about GC barriers

Audience

This course is mainly for compiler engineers. However, all computer engineers willing to implement a complex project to learn different memory management algorithms will find this course useful. (Generic knowledge is transferable to other systems.)

Approach

Each lecture is self-sufficient and concise, and describes information related to the topic, not distracting one by unrelated materials or talks. Usage of animated presentations combined with live-editing notes makes understanding the topics easier and shows how (and when in time) the object structures are connected.

Key Features

Learn about various GC algorithms, such as Mark-Compact collector and Reference counting collector * Identify the difference between tracing and direct collectors * Learn about Tri-color abstraction and marking

About the Author

Dmitry Soshnikov

Dmitry Soshnikov is a software engineer and a lecturer on different computer science topics. He is passionate about education and focuses on high-quality educational content: concise and straight-to-the-point animated lectures with live-editing notes.

Course Outline

1. Memory management


2. Garbage Collectors


3. Advance topics

Course Content

  1. Garbage Collection Algorithms

About The Provider

Packt
Packt
Birmingham
Founded in 2004 in Birmingham, UK, Packt’s mission is to help the world put software to work in new ways, through the delivery of effective learning and i...
Read more about Packt

Tags

Reviews