Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 980 Bytes

File metadata and controls

29 lines (17 loc) · 980 Bytes

Garbage Collector

Introduction:

Garbage Collector implemented using Reference Counting Algorithm. The algorithm selected can easily be implemented upon the existing C++ dynamic allocation system. for more information about the algorithm, please refer to this wikipedia link.

Installation:

  1. Clone the repository using command git clone https://github.com/abdoei/Udacity_Cpp_nanodegree.git.

Project Execution:

  1. Compile GarbageCollector.cpp file by executing command g++ -o main main.cpp.
  2. Execute command ./main.
  3. Results should now be displayed on the screen.

Screenshots:

  • Memory Leakage Result:Results

Project TODO List:

  • Complete Pointer constructor
  • Complete Pointer operator==
  • Complete Pointer destructor
  • Complete PtrDetails class
  • Implement a pooling mechanism for PtrDetails objects