Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
New Contributor
javabuddy
Posts: 5
Registered: ‎01-15-2011
My Carrier: Singltel
Accepted Solution

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

Please use plain text.
Developer
rcmaniac25
Posts: 1,789
Registered: ‎04-28-2009
My Carrier: Verizon

Re: Does garbage collection occurs in PERM Area of Java Heap ?

Hello Javin,

 

We don't have any real knowledge into the workings of the JVM on BlackBerry.

------------------------------------------------------------
Three simple rules:
1. Please use the search bar before making new posts.
2. Kudo posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Please use plain text.
Developer
peter_strange
Posts: 17,669
Registered: ‎07-14-2008

Re: Does garbage collection occurs in PERM Area of Java Heap ?

The concepts of heap and so on that you are used to, do not apply to Blackberry JVM - well they probably do, but it is well hidden from us.  I recommend that you review this video to understand what you can control re garbage collection.

 

http://us.blackberry.com/developers/choosingtargetos.jsp#

Please use plain text.