diff options
Diffstat (limited to 'runtime/jit/jit.h')
-rw-r--r-- | runtime/jit/jit.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/runtime/jit/jit.h b/runtime/jit/jit.h index e80a376349..42bbbe73c7 100644 --- a/runtime/jit/jit.h +++ b/runtime/jit/jit.h @@ -72,7 +72,8 @@ class Jit { return instrumentation_cache_.get(); } - void SaveProfilingInfo(const std::string& filename); + void StartProfileSaver(const std::string& filename, const std::vector<std::string>& code_paths); + void StopProfileSaver(); void DumpForSigQuit(std::ostream& os) { DumpInfo(os); @@ -85,7 +86,7 @@ class Jit { // JIT compiler void* jit_library_handle_; void* jit_compiler_handle_; - void* (*jit_load_)(CompilerCallbacks**); + void* (*jit_load_)(CompilerCallbacks**, bool*); void (*jit_unload_)(void*); bool (*jit_compile_method_)(void*, ArtMethod*, Thread*); @@ -97,7 +98,9 @@ class Jit { std::unique_ptr<jit::JitCodeCache> code_cache_; CompilerCallbacks* compiler_callbacks_; // Owned by the jit compiler. - std::unique_ptr<OfflineProfilingInfo> offline_profile_info_; + bool save_profiling_info_; + bool generate_debug_info_; + DISALLOW_COPY_AND_ASSIGN(Jit); }; |