Additional information
Full Title | Garbage Collection Algorithms 1st Edition |
---|---|
Author(s) | Dmitry Soshnikov |
Edition | 1st Edition |
ISBN | 9781801074629, 9781801075916 |
Publisher | Packt Publishing |
Format | PDF and EPUB |
Original price was: $49.99.$15.00Current price is: $15.00.
Access Garbage Collection Algorithms 1st Edition Now. Discount up to 90%
Full Title | Garbage Collection Algorithms 1st Edition |
---|---|
Author(s) | Dmitry Soshnikov |
Edition | 1st Edition |
ISBN | 9781801074629, 9781801075916 |
Publisher | Packt Publishing |
Format | PDF and EPUB |
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.