Rajanikant Hawaldar
How the genarations works? how the garbage collector knows when to move where what to look for where

How the genarations works? how the garbage collector knows when to move where what to look for where

By Rajanikant Hawaldar in .NET on Jul 14 2021
  • Rajeev Kumar
    Mar, 2023 17

    Garbage collection is the technique by which memory is managed automatically by reclaiming unused memory. It is a feature present in programming languages like Java, due to which the programmers need not keep track of the unused objects and destroy them. It is done automatically using Garbage Collection

    • 0
  • Prasad Kulkarni
    Sep, 2021 3

    Mainly the GC has 3 generations Generation 0 : where the short lived objects are resides Generation 1 : where the space between the short lived and long lived objects are lived Generation 3 : where the actual long lived objects are lived

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS