OSDN Git Service

Make a couple of map checks debug only.
authorNarayan Kamath <narayan@google.com>
Thu, 21 Aug 2014 16:38:09 +0000 (17:38 +0100)
committerBrian Carlstrom <bdc@google.com>
Thu, 21 Aug 2014 21:29:14 +0000 (14:29 -0700)
commitb89c3da592de1a2741a08cc3c8ed2908e8bdd15a
tree3a55d3f92f7dfd476706bff2c53955ef8ebd217f
parentca0ceb06d1b82714b834727a33f82fe6512effa9
Make a couple of map checks debug only.

This cost us close to 80ms in app startup times.

The checks that a reused region was within an already
existent map has been demoted to a debug check.

A couple of other negative checks have been removed
outright because one of them was superflous and the other
wasn't guaranteed to be correct.

bug: 16828525

(cherry picked from commit bddaea2b88b0a19d9cc7a4dea772af8e829323b3)

Change-Id: Ia6f3e69692bb9cb5b4ff6f47946ea38a56d4cdb6
runtime/mem_map.cc
runtime/mem_map.h