Friday, March 3, 2017

What is Garbage Collector?

Garbage collector serves as a automatic memory manager. It has the following benefits:

  • It would enable us to develop our application without having to free memory.
  •  It allocates objects on managed heap efficiently.
  •  It reclaims the objects that are no longer being used, clears their memory and keeps the memory available for future allocations.
  •  It provides memory safety by making sure that an object cannot use the context of another object.

No comments:

Post a Comment

Call a function in child component from parent component in React

Consider the following parent component class Parent extends React.Component { constructor(props) { super(props);         thi...