diff options
Diffstat (limited to 'runtime/jit/jit.h')
-rw-r--r-- | runtime/jit/jit.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/jit/jit.h b/runtime/jit/jit.h index e5b77c2c7e..42adf6ba7c 100644 --- a/runtime/jit/jit.h +++ b/runtime/jit/jit.h @@ -114,6 +114,10 @@ class JitOptions { return use_jit_compilation_; } + bool UseTieredJitCompilation() const { + return use_tiered_jit_compilation_; + } + void SetUseJitCompilation(bool b) { use_jit_compilation_ = b; } @@ -137,6 +141,7 @@ class JitOptions { static uint32_t RoundUpThreshold(uint32_t threshold); bool use_jit_compilation_; + bool use_tiered_jit_compilation_; size_t code_cache_initial_capacity_; size_t code_cache_max_capacity_; uint32_t compile_threshold_; @@ -383,6 +388,8 @@ class Jit { // class path methods. void NotifyZygoteCompilationDone(); + void EnqueueOptimizedCompilation(ArtMethod* method, Thread* self); + private: Jit(JitCodeCache* code_cache, JitOptions* options); |