Modified dalvik vm to track garbage collection with higher granularity