From f44d36c8423f81cbb5e9f55d8813e26ffa1a7f3b Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Tue, 14 Mar 2017 14:18:46 +0000 Subject: Revert^2 "Hash-based DexCache field array." Test: testrunner.py --host --interpreter Bug: 30627598 This reverts commit 6374c58f2ea403b3a05fb27376110fe4d0fc8e3f. Change-Id: I275508e288a85d3aa08f7405a1a4f362af43b775 --- runtime/linear_alloc.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'runtime/linear_alloc.cc') diff --git a/runtime/linear_alloc.cc b/runtime/linear_alloc.cc index f91b0ed9ea..e9db9b8b4c 100644 --- a/runtime/linear_alloc.cc +++ b/runtime/linear_alloc.cc @@ -33,6 +33,11 @@ void* LinearAlloc::Alloc(Thread* self, size_t size) { return allocator_.Alloc(size); } +void* LinearAlloc::AllocAlign16(Thread* self, size_t size) { + MutexLock mu(self, lock_); + return allocator_.AllocAlign16(size); +} + size_t LinearAlloc::GetUsedMemory() const { MutexLock mu(Thread::Current(), lock_); return allocator_.BytesUsed(); -- cgit v1.2.3-59-g8ed1b