Java Garbage Collection Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 9: Line 9:
{{External|https://dzone.com/articles/java-8-permgen-metaspace}}
{{External|https://dzone.com/articles/java-8-permgen-metaspace}}


The ''meatspace'' has been introduced by Java 8 to replace [[#Permanent_Generation|permanent generation]]. Most allocations for the class metadata are now allocated out of native memory.
==Overview==


The ''metaspace'' has been introduced by Java 8 to replace [[#Permanent_Generation|permanent generation]]. Most allocations for the class metadata are now allocated out of native memory.


==Capacity==
By default the metaspace can extend to the limit of the physical memory.
It can be limited by <tt>MaxMetaspaceSize</tt>. If the flag is not specified, the metaspace will resize.
==Monitoring==


<font color=red>It is considered part of the heap?</font>
<font color=red>It is considered part of the heap?</font>

Revision as of 07:39, 16 February 2017

Internal

Permanent Generation

Metaspace

https://dzone.com/articles/java-8-permgen-metaspace

Overview

The metaspace has been introduced by Java 8 to replace permanent generation. Most allocations for the class metadata are now allocated out of native memory.

Capacity

By default the metaspace can extend to the limit of the physical memory.

It can be limited by MaxMetaspaceSize. If the flag is not specified, the metaspace will resize.

Monitoring

It is considered part of the heap?