summaryrefslogtreecommitdiff
path: root/compiler/sea_ir/code_gen.h
diff options
context:
space:
mode:
author Hiroshi Yamauchi <yamauchi@google.com> 2013-07-30 13:58:37 -0700
committer Hiroshi Yamauchi <yamauchi@google.com> 2013-08-05 11:38:01 -0700
commit50b2928501fe489c108472e7648ec98cdca62e10 (patch)
tree03da5ab1d5b33ce1503d6bcbcfab153fa70938df /compiler/sea_ir/code_gen.h
parent6447919b5ee8d34c4767f908c7cd7223c224544c (diff)
Improve the allocation speed.
- Improves the Ritz MemAllocTest benchmark result by ~500 ms (or ~5%) on Nexus 4. - Move the memset() call that zeroes the allocated memory out of the lock region. - De-virtualize/Inline the allocation call chains into Heap::AllocObject(). - Turn Heap::measure_allocation_time_ into a static const variable. - Surround the VerifyObject() call with kIsDebugBuild. Bug: 9986565 Change-Id: Ib70b6d051a80ec329788b30256565561f031da2a
Diffstat (limited to 'compiler/sea_ir/code_gen.h')
0 files changed, 0 insertions, 0 deletions