OSDN Git Service

ART: correct native bytes allocated in RegisterNativeAllocation
authorLin Zang <lin.zang@intel.com>
Tue, 10 Mar 2015 10:53:21 +0000 (18:53 +0800)
committerLin Zang <lin.zang@intel.com>
Thu, 12 Mar 2015 10:34:04 +0000 (18:34 +0800)
commit60e27165e13a8401ded88c492ab804419537b2c7
tree243543245f308de167245069e8f4f6e6b5749e56
parentd304629202eec2ab053a47fc7bcf10223b5ccea4
ART: correct native bytes allocated in RegisterNativeAllocation

Fix the issue that in RegisterNativeAllocation the new_native_bytes_allocated
was not updated after Runfinalization, which may cause unnecessary GC.

Change-Id: Icbbc0d1cbcd7b1b8e42576104de69c8ff3afa745
Signed-off-by: Lin Zang <lin.zang@intel.com>
runtime/gc/heap.cc