does Android jvm unloads classes?

by Andrei » Wed, 30 Sep 2009 10:39:52 GMT


Sponsored Links
 A static field which was initialized becomes null at some point.
Can it be because that class was unloaded and loaded again?
--~--~---------~--~----~------------~-------~--~----~



does Android jvm unloads classes?

by Dianne Hackborn » Wed, 30 Sep 2009 11:37:19 GMT


 More likely it's because your process was killed.






-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


does Android jvm unloads classes?

by fadden » Thu, 01 Oct 2009 04:55:20 GMT


 


FWIW, a class cannot be unloaded unless all classes in the same class
loader can be unloaded.  It all stays or it all goes.

This is sufficiently unlikely in an Android application that class
unloading has not been implemented, and is very, very low on the
planned feature list.

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Application storage data growing

I am trying to understand why my app's data storage is growing.  When
looking at system settings / application info there are statistics
showing for Storage.  I see my Application size, but there is also a
Data section that continues to grow gradually from continually usage.
How can I find out what exactly is stored there and to review it to
determine what my app is doing that would cause the growth?  Are there
any utilities I can run on the G1 to explore that data area?

Thanks!
--~--~---------~--~----~------------~-------~--~----~

2. "Stuck" SMS message

I went to this URL
http://www.google.com/latitude/intro.html

Typed in my UK mobile number and got a text from Google with a link to
m.google.com/latitude

However when I tried to open that message in my default SMS client (chomp)
it opened a new blank message instead.

I cleared the notification, looked in my SMSs and that message just isn't
anywhere in the list.

Whenever I get a new SMS now, I get a notification from chompSMS that I have
two new messages - and two do show up, the real message, and this mystery
message from Google.

Rinse and repeat.

The rogue SMS doesn't appear in the Android Messaging application either. I
can't work out how to switch back to that for incoming SMS notifications
either, to see if that exhibits the same issue when I receive a message.

I upgraded chomp to the latest version a couple of days ago to see if that
fixed anything (it didn't)

Any suggestions?

Thanks
Tom

--~--~---------~--~----~------------~-------~--~----~

3. Share database between applications

4. Display RGB Buffer

5. where to open one more device node for YUV

6. AV Sync in OpenCORE

7. *******DESIGN YOUR HOME*********