View RSS Feed

Core Java

Core Java tutorials.

  1. Garbage Collection Disadvantages

    by , 03-02-2012 at 04:30 PM
    Garbage collection has certain disadvantages which are as following:

    • Garbage collection uses computing resources so that to take a decision that which memory shall be reconstruct or free the fact to which programmer is well-aware of. When object lifetime is not manually annotated in source code, penalty is overhead. It will reduce the performance. Overheads are not bearable or tolerable, when interaction is present to memory hierarchy effects. It is not easy to predict them during
  2. Garbage Collection Overview

    by , 03-02-2012 at 04:28 PM
    Garbage collection is automatic memory management in computer sciences. Garbage collector attempts to reclaim garbage or occupied memory of the object that is not in use of program. In 1959, Garbage collection was invented by John McCarthy to solve the Lisp problems.

    Usually garbage collection and manual memory management are considered opposite of each other. Objects are required by programmers which are returned or deallocated to the memory. Various approaches are taken into consideration ...