1. DroidForums.net is currently undergoing a major software upgrade. If you are experiencing any problems logging in please: Contact Us

What is dalvik cache?

Discussion in 'Android General Discussions' started by gflam, Jul 7, 2010.

  1. gflam
    Offline

    gflam Developer Theme Developer Developer

    Joined:
    Jun 14, 2010
    Messages:
    1,878
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Jersey
    Just wondering because i always see it during my nandroid backup and usually takes the longest
  2. Backnblack
    Offline

    Backnblack Premium Member Premium Member

    Joined:
    Nov 18, 2009
    Messages:
    11,263
    Likes Received:
    5
    Trophy Points:
    0
    Simple explanation:

    When Android starts up, the DalvikVM looks thru all of your applications (.apk files) and frameworks, and builds a tree of dependencies. It uses this dependency tree to optimize the bytecode for every application and stores it in the Dalvik cache. The applications are then run using the optimized bytecode. This is why when you install a new ROM, sometimes it takes a very long time to boot for the first time. Any time an application (or framework library) changes, it's reoptimized and the cache is updated.
  3. Taegost
    Offline

    Taegost New Member

    Joined:
    May 16, 2010
    Messages:
    688
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    Tampa Bay, Fl
    Thank you for that explanation, it's clear, concise, and not overly complicated.
    I was wondering this as well but was too afraid of the answer :)
Search tags for this page
clean up dalvik cache
,
contact dalvic.com.br
,
dalvik
,

dalvik cache

,

dalvik cache cleaner

,
dalvik chache cleaning
,
dalvik-cache
,
dalvik@dalvik.is
,
define dalvik cache
,
droid cannont clear davlik cache
,
how to clean computer dalvik caches
,
how to optimize s4 dalvik
,

what is dalvik cache

,
what is dalvik-cache android phone
,
what is davlik cache android?