mercredi 4 février 2015

Does the JVM's automatic Garbage Collector cleans entire JVM HotSpot memory (C-Heap, Java Heap and Permanent Generation space) or just Java Heap?


I know that the JVM has some JVM HotSpot memory which is further divided into three areas:



  • Java Heap

  • Permanent Generation Space

  • Native Heap (C-Heap)


I know that Java has automatic garbage collection mechanism for Heap Memory.


So, I want to confirm that in my last statement Heap refers to both Java Heap and Native Heap (C-Heap) or just Java Heap.


Also, what about Permanent Generation Space? Is it also considered as some kind of Heap or what?





Aucun commentaire:

Enregistrer un commentaire