dalvik cache?

davey11

Well-known member
Dec 17, 2010
2,203
508
113
I've done a search on this and doesn't explain what it is/does.

Can someone tell me what it is and what it does?

There is an option in Titanium backup to clean the cache...does my cache need cleaning?
 
  • Like
Reactions: heyandy889
Someone can probably answer this better then I can, but I'll try from things I've read before..

Android uses a Java language in its programming, but it's not actually Java.

Instead it uses a Java-derived Dalvik Virtual Machine to run the OS. There are technical differences between the Dalvik VM and Java VM, but I could not articulate clearly what those are.
One thing I'm sure of though, is the Dalvik VM was created by reverse engineering Java and by doing this, they avoided infringing on any copyrights.
I believe it's called a Chinese Wall technique.
That being said, Dalvik is licensed under the Apache License (open source).
To add to that, Android 2.2 uses Just-In-Time (JIT) compilation which improves runtime performance of the Dalvik VM.


Now to try and answer your question, in terms of the cache, I believe when cleaning it, you're just deleting cached code from memory that was left there after execution.

I've cleared mine using Titanium and never saw an improvement in performance or a reduction for that matter.

So yeah, I hope I'm not way off base on everything I said.
I read an article about Android and how it was developed, but that was some time ago.
I'm sure more people will chime in.

[sent from my android]
 
Java applicatipns compile upon execution. The dalvik-cache is a place for these compiled apps to go, and be used, is how I understand it. Android without dalvik-cache= as slow as blackberry.
 
Thanks guys..quite a few views on this and no replys so i was thinking this is a touchy subject with not many want to chime in on.

BTW egghead, I just 5 mins ago have seen your avatar on my screen after a failed flash. I would assume this is bricksville as phone did not respond to anything.

Panic was brief as I did batt pull and clockword back to normal ... whew
 
  • Like
Reactions: heyandy889

Trending Posts

Forum statistics

Threads
956,846
Messages
6,970,287
Members
3,163,639
Latest member
hubolt