|
-
January 21st, 2011, 10:39 PM
#1
Does garbage collection occurs in PERM Area of Java Heap ?
Hi Guys,
I am a relative new member in this forum , My name is Javin Paul and I am Java programmer. I have question related to garbage collection in Java
Does garbage collection occurs in PERM Area of Java Heap ?
As per my knowledge PERM area is used to store meta data about classes, methods , variable etc also String Pool created in PERM area of heap so I believe garbage collection does not occur in this place but just wanted to know what do you guys think of it ?
Thanks
Javin
-
January 22nd, 2011, 08:59 PM
#2
Re: Does garbage collection occurs in PERM Area of Java Heap ?
Please do not cross post on multiple forums.
I believe the answer is yes it does get garbage collected as part of a major collection cycle when the tenured area is GC'd. GC'ing this area will mean the GC'd classes are unloaded from the JVM so is limited to those classes that don't have any non-final static variables.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|