Does garbage collection occur in permanent generation space in jvm?



Does garbage collection occur in permanent generation space in jvm?..

Answer / Gulab Singh

No, the Garbage Collector (GC) does not directly collect objects from the Permanent Generation (PermGen) Space in JVM. Since Java 9, PermGen has been replaced by Metaspace.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What are the names of interfaces that doesn't consists of method/s ?

3 Answers  


what is multitherading

3 Answers   Tech Mahindra,


Can a constructor call the constructor of parent class?

1 Answers  


How does access modifiers work?

1 Answers   Wipro,


what is the difference between future and callable interface in java?

1 Answers  


write java code to print second max number in the array

12 Answers   Huawei, IBAB,


EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.

2 Answers   EDS,


What is array length in java?

1 Answers  


if two references are having same hash codes,is that means those are refering to same object?

5 Answers   CTS,


Are static members inherited to sub classes?

1 Answers  


Why is a singleton bad?

1 Answers  


What is Recursion Function?

1 Answers   iNautix,


Categories