diff options
| author | 2016-02-25 13:27:47 +0000 | |
|---|---|---|
| committer | 2016-02-25 13:27:47 +0000 | |
| commit | fcdd72941810f03460a8efca0c6255439be80c35 (patch) | |
| tree | ce279d446fd5fa4e9dd1e42b53444e991b90ae2f /runtime/jit/jit_code_cache.h | |
| parent | 1470073c3a9ce17a0f7d3167345746d0b8d2202b (diff) | |
Dump the number of OSR compiled code.
Change-Id: I20efc80e8556da8220dab92c3a7947f883d48cf8
Diffstat (limited to 'runtime/jit/jit_code_cache.h')
| -rw-r--r-- | runtime/jit/jit_code_cache.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/jit/jit_code_cache.h b/runtime/jit/jit_code_cache.h index e5b8e6ca17..4574edfb46 100644 --- a/runtime/jit/jit_code_cache.h +++ b/runtime/jit/jit_code_cache.h @@ -73,6 +73,7 @@ class JitCodeCache { // Number of compilations done throughout the lifetime of the JIT. size_t NumberOfCompilations() REQUIRES(!lock_); + size_t NumberOfOsrCompilations() REQUIRES(!lock_); bool NotifyCompilationOf(ArtMethod* method, Thread* self, bool osr) SHARED_REQUIRES(Locks::mutator_lock_) @@ -304,6 +305,7 @@ class JitCodeCache { // Number of compilations done throughout the lifetime of the JIT. size_t number_of_compilations_ GUARDED_BY(lock_); + size_t number_of_osr_compilations_ GUARDED_BY(lock_); DISALLOW_IMPLICIT_CONSTRUCTORS(JitCodeCache); }; |