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.

inside custom component

Java Development

Reply
New Contributor
Posts: 5
Registered: ‎01-15-2011
My Device: BOLD
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

Highlighted
Developer
Posts: 1,807
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.3.2.858, Z10 (STL100-3)-10.3.1.2576, Z30 (STA100-5)-10.3.1.2582, Passport (SQW100-1)-10.3.1.2576, PlayBook (16GB)-2.1.0.1917
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.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" 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.
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

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#