diff options
author | 2019-07-31 18:40:09 +0100 | |
---|---|---|
committer | 2019-08-16 09:10:55 +0000 | |
commit | 8fc2f95291206806599d4f2a50da529da85155b6 (patch) | |
tree | c3c9de9a9a925d6ab790f6db466d1f9c17ed1010 /compiler/jit/jit_compiler.h | |
parent | 9ce340f829f836560278ecd078fbefcf19c9d629 (diff) |
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
Diffstat (limited to 'compiler/jit/jit_compiler.h')
-rw-r--r-- | compiler/jit/jit_compiler.h | 5 |
1 files changed, 5 insertions, 0 deletions
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<uint8_t> PackElfFileForJIT(ArrayRef<JITCodeEntry*> elf_files, + ArrayRef<const void*> removed_symbols, + bool compress, + /*out*/ size_t* num_symbols) override; + private: std::unique_ptr<CompilerOptions> compiler_options_; std::unique_ptr<Compiler> compiler_; |