Thanks for the Dalvik cache explaination... However, If I understand you right, when you put a new ROM on your device, the Dalvik is rebuilt... Some flash ROM guides tells me to wipe the Dalvik cache and other does not mention it... Is this procedure necessary or is it redundant?
PS. Would be nice if some moderator could clean this otherwise informative but messy thread... DS.
In theory it will re-generate thus not be needed for you to wipe it..
However in practice some invalid information seems to be leaked from the previous rom causing forcequits, stalls, and errors when major changes to a rom is made. (particularly when changes to the dalvik run-time environment are made)
I believe what is happening is that while the dex files are re-generated, the old ones are not deleted, so some of the earlier generated files can have links to some of the old not-yet-regenerated files.. causing problems.
If you do a full wipe its of course redundant .. however since the dex wipe if fast (at least in clockwork a bit harder in ra-recovery).. and if you don't do it you will need to wait for all dex files to re-generate incorrectly, then wipe and generate them correctly.. Its sometimes easier just to wipe and let them install cleanly. (its not duplicating anything.. probably a bit faster as the dex invalidation check also takes time)