Java Memory Pools and Memory Managers

Memory pools and memory managers are key aspects of the Java VM's memory system.

A memory pool represents a memory area that the Java VM manages. The Java VM has at least one memory pool and it may create or remove memory pools during execution. A memory pool can belong either to heap or to non-heap memory.

A memory manager manages one or more memory pools. The garbage collector is a type of memory manager responsible for reclaiming memory used by unreachable objects. A Java VM may have one or more memory managers. It may add or remove memory managers during execution. A memory pool can be managed by more than one memory manager.

Popular posts from this blog

How to get Active Transactions and Locks from MySQL

Example of a PAC file