From f9f6441c665b5ff9004d3ed55014f46d416fb1bb Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Wed, 2 Sep 2015 14:05:49 +0100 Subject: Optimizing: Tag Arena allocations with their source. This adds the ability to track where we allocate memory when the kArenaAllocatorCountAllocations flag is turned on. Also move some allocations from native heap to the Arena and remove some unnecessary utilities. Bug: 23736311 Change-Id: I1aaef3fd405d1de444fe9e618b1ce7ecef07ade3 --- compiler/dex/quick/codegen_util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/dex/quick/codegen_util.cc') diff --git a/compiler/dex/quick/codegen_util.cc b/compiler/dex/quick/codegen_util.cc index 72754ae5d9..7082bedc5e 100644 --- a/compiler/dex/quick/codegen_util.cc +++ b/compiler/dex/quick/codegen_util.cc @@ -1115,7 +1115,7 @@ void Mir2Lir::Materialize() { CompiledMethod* Mir2Lir::GetCompiledMethod() { // Combine vmap tables - core regs, then fp regs - into vmap_table. - Leb128EncodingVector vmap_encoder; + Leb128EncodingVector<> vmap_encoder; if (frame_size_ > 0) { // Prefix the encoded data with its size. size_t size = core_vmap_table_.size() + 1 /* marker */ + fp_vmap_table_.size(); -- cgit v1.2.3-59-g8ed1b