From 8fc2f95291206806599d4f2a50da529da85155b6 Mon Sep 17 00:00:00 2001 From: David Srbecky Date: Wed, 31 Jul 2019 18:40:09 +0100 Subject: JIT mini-debug-info: Remove global maps. Keep the extra bookkeeping information in JITCodeEntry. Also do the compression eagerly during GC rather then lazily. Test: test.py -b --host --jit Bug: 119800099 Change-Id: Ie6cc682033a32c01d4c2cac242d8a4201116f940 --- compiler/jit/jit_compiler.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'compiler/jit/jit_compiler.h') diff --git a/compiler/jit/jit_compiler.h b/compiler/jit/jit_compiler.h index 737771fbf6..c69a376abb 100644 --- a/compiler/jit/jit_compiler.h +++ b/compiler/jit/jit_compiler.h @@ -53,6 +53,11 @@ class JitCompiler : public JitCompilerInterface { void TypesLoaded(mirror::Class**, size_t count) REQUIRES_SHARED(Locks::mutator_lock_) override; + std::vector PackElfFileForJIT(ArrayRef elf_files, + ArrayRef removed_symbols, + bool compress, + /*out*/ size_t* num_symbols) override; + private: std::unique_ptr compiler_options_; std::unique_ptr compiler_; -- cgit v1.2.3-59-g8ed1b