OSDN Git Service

Use monotonic clock for HeapWorker trim scheduling.
authorAndy McFadden <fadden@android.com>
Tue, 2 Jun 2009 20:42:44 +0000 (13:42 -0700)
committerAndy McFadden <fadden@android.com>
Wed, 3 Jun 2009 20:37:38 +0000 (13:37 -0700)
commiteaf2ee0338506cdb1db7c11e09e247b3c92050a6
treeba7129249b42f3efb618e5d47c206588e65a66d8
parent5dd400ea093142427d9c83d3bdddac48b63d5fc6
Use monotonic clock for HeapWorker trim scheduling.

We're currently using gettimeofday(), which could get confused if the
wall clock jumps the wrong way.
vm/alloc/HeapWorker.c