OSDN Git Service

Fix valgrind heap_test.
authorHiroshi Yamauchi <yamauchi@google.com>
Fri, 13 Mar 2015 23:48:55 +0000 (16:48 -0700)
committerHiroshi Yamauchi <yamauchi@google.com>
Fri, 13 Mar 2015 23:53:36 +0000 (16:53 -0700)
commit8711d1fadb62481cdcb10c829a54b36f6aa16f6f
tree8ca7b49ed588b4fa02f4d664ddbc5f870a4718e8
parent02c0bac34c246c1bd974dbb86d292d4b52ba98e4
Fix valgrind heap_test.

Copy the exact object size rather than the aligned size to avoid
valgrind errors in the zygote compact collector.

Change-Id: I260b8901f96fb4c0937a1a5237120b56f6858b7a
runtime/gc/heap.cc