Tutorialspoint

Celebrating 11 Years of Learning Excellence! Use: TP11

Garbage Collection Algorithms

person icon Packt Publishing

4.4

Garbage Collection Algorithms

Understand the underlying theory behind automatic memory management and garbage collection.

updated on icon Updated on Jun, 2025

language icon Language - English

person icon Packt Publishing

English [CC]

category icon Development ,Software Engineering,Data Structures

Lectures -18

Duration -2.5 hours

Lifetime Access

4.4

price-loader

Lifetime Access

30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.

Course Description

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.

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.)

Goals

  • 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
Garbage Collection Algorithms

Curriculum

Check out the detailed breakdown of what’s inside the course

Memory Management

7 Lectures
  • play icon Allocation Types 05:06 05:06
  • play icon Manual Memory Management 03:55 03:55
  • play icon Object Header 03:19 03:19
  • play icon Virtual Memory and Memory Layout 08:57 08:57
  • play icon Mutator, Allocator, Collector 04:35 04:35
  • play icon Allocators: Free-list Versus Sequential 08:56 08:56
  • play icon Semantic Versus Syntactic Garbage 04:42 04:42

Garbage Collectors

5 Lectures
Tutorialspoint

Advance Topics

5 Lectures
Tutorialspoint

Extras

1 Lectures
Tutorialspoint

Instructor Details

Packt Publishing

Packt Publishing

Packt are an established, trusted, and innovative global technical learning publisher, founded in Birmingham, UK with over eighteen years experience delivering rich premium content from ground-breaking authors and lecturers on a wide range of emerging and established technologies for professional development.

Packt’s purpose is to help technology professionals advance their knowledge and support the growth of new technologies by publishing vital user focused knowledge-based content faster than any other tech publisher, with a growing library of over 9,000 titles, in book, e-book, audio and video learning formats, our multimedia content is valued as a vital learning tool and offers exceptional support for the development of technology knowledge.

We publish on topics that are at the very cutting edge of technology, helping IT professionals learn about the newest tools and frameworks in a way that suits them.

Course Certificate

Use your certificate to make a career change or to advance in your current career.

sample Tutorialspoint certificate

Our students work
with the Best

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
Annual Membership

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
Online Certifications

Talk to us

1800-202-0515