OSDN Git Service

ART: Include zero-padding in String::SizeOf().
authorVladimir Marko <vmarko@google.com>
Wed, 26 Aug 2015 17:12:56 +0000 (18:12 +0100)
committerVladimir Marko <vmarko@google.com>
Wed, 26 Aug 2015 17:51:54 +0000 (18:51 +0100)
commit4ef5226864717a48717a328167f6fd3e90900072
treea4159c2143d03dfe91338b520d0e00392840e69d
parent9ee5d6cdc14ac94b64ea1961bf221bad48746929
ART: Include zero-padding in String::SizeOf().

String.equals() intrinsics depend on the zero-padding
but the zygote compaction didn't preserve it.

Bug: 23528461
Change-Id: I57286a31ea2491c7365045d6c69d7ed2e7a5773a
runtime/mirror/string-inl.h