Java Memory Model

If you have any doubts in the below, contact us by dropping a mail to the Kung Fu Panda. We will get back to you very soon.

Problems with Explicit Memory Management.

GC

GC responsibities

Space Allocation

Fragmentation

Design Choices on the type of Garbage Collector.

Real World Applications

Performance Metrics

Generational Collection

Generations

Young

Full Garbage Collection

Old gen Garbage collection is called full/major collection, because it involves running first on Young gen, then on Old gen, and then on permgen(with old gen algo) and compacting(if algo wants).

Fast Allocation and TLABs(Thread-Local allocation buffer)

Serial Collector

Parallel Collector/Throughput Collector

Out of Memory Error

Could be because of any of the below:

Concurrent Mark Sweep Collector(CMS Collector)

Parallel Compacting Collector

Tuning Strategy

Tools to evaluate

OPTIONS Related to GC.