Browsing Category

Java

A general purpose programming language and computing platform that is concurrent, class-based, object-oriented and specifically designed to have as few implementation dependencies as possible.

Phantom References | Java

The concrete classes SoftReference, WeakReference and PhantomReference are subclasses of Reference that interact with the garbage collector in different ways.

Understanding Java Garbage Collection Algorithms

The heap memory has to be cleared by releasing memory for all those objects which are no longer referenced by the program, here garbage collection comes to our rescue, and it automatically releases the heap memory for all the unreferenced…