Mathieu Chartier | e5f13e5 | 2015-02-24 09:37:21 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2014 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | #ifndef ART_RUNTIME_JIT_JIT_H_ |
| 18 | #define ART_RUNTIME_JIT_JIT_H_ |
| 19 | |
Nicolas Geoffray | a4f8154 | 2016-03-08 16:57:48 +0000 | [diff] [blame] | 20 | #include "base/arena_allocator.h" |
| 21 | #include "base/histogram-inl.h" |
Mathieu Chartier | e5f13e5 | 2015-02-24 09:37:21 -0800 | [diff] [blame] | 22 | #include "base/macros.h" |
| 23 | #include "base/mutex.h" |
Mathieu Chartier | a4885cb | 2015-03-09 15:38:54 -0700 | [diff] [blame] | 24 | #include "base/timing_logger.h" |
Mathieu Chartier | e5f13e5 | 2015-02-24 09:37:21 -0800 | [diff] [blame] | 25 | #include "object_callbacks.h" |
Calin Juravle | 31f2c15 | 2015-10-23 17:56:15 +0100 | [diff] [blame] | 26 | #include "offline_profiling_info.h" |
Calin Juravle | 138dbff | 2016-06-28 19:36:58 +0100 | [diff] [blame^] | 27 | #include "jit/profile_saver_options.h" |
Mathieu Chartier | e5f13e5 | 2015-02-24 09:37:21 -0800 | [diff] [blame] | 28 | #include "thread_pool.h" |
| 29 | |
| 30 | namespace art { |
| 31 | |
Mathieu Chartier | e401d14 | 2015-04-22 13:56:20 -0700 | [diff] [blame] | 32 | class ArtMethod; |
Mathieu Chartier | e5f13e5 | 2015-02-24 09:37:21 -0800 | [diff] [blame] | 33 | struct RuntimeArgumentMap; |
| 34 | |
| 35 | namespace jit { |
| 36 | |
| 37 | class JitCodeCache; |
Mathieu Chartier | e5f13e5 | 2015-02-24 09:37:21 -0800 | [diff] [blame] | 38 | class JitOptions; |
| 39 | |
Nicolas Geoffray | 274fe4a | 2016-04-12 16:33:24 +0100 | [diff] [blame] | 40 | static constexpr int16_t kJitCheckForOSR = -1; |
| 41 | static constexpr int16_t kJitHotnessDisabled = -2; |
| 42 | |
Mathieu Chartier | e5f13e5 | 2015-02-24 09:37:21 -0800 | [diff] [blame] | 43 | class Jit { |
| 44 | public: |
| 45 | static constexpr bool kStressMode = kIsDebugBuild; |
Nicolas Geoffray | 83f080a | 2016-03-08 16:50:21 +0000 | [diff] [blame] | 46 | static constexpr size_t kDefaultCompileThreshold = kStressMode ? 2 : 10000; |
Nicolas Geoffray | 71cd50f | 2016-04-14 15:00:33 +0100 | [diff] [blame] | 47 | static constexpr size_t kDefaultPriorityThreadWeightRatio = 1000; |
Nicolas Geoffray | bd553eb | 2016-04-28 13:56:04 +0100 | [diff] [blame] | 48 | static constexpr size_t kDefaultInvokeTransitionWeightRatio = 500; |
Mathieu Chartier | e5f13e5 | 2015-02-24 09:37:21 -0800 | [diff] [blame] | 49 | |
| 50 | virtual ~Jit(); |
| 51 | static Jit* Create(JitOptions* options, std::string* error_msg); |
Nicolas Geoffray | b331feb | 2016-02-05 16:51:53 +0000 | [diff] [blame] | 52 | bool CompileMethod(ArtMethod* method, Thread* self, bool osr) |
Mathieu Chartier | 9044347 | 2015-07-16 20:32:27 -0700 | [diff] [blame] | 53 | SHARED_REQUIRES(Locks::mutator_lock_); |
Mathieu Chartier | e5f13e5 | 2015-02-24 09:37:21 -0800 | [diff] [blame] | 54 | void CreateThreadPool(); |
Nicolas Geoffray | 274fe4a | 2016-04-12 16:33:24 +0100 | [diff] [blame] | 55 | |
Mathieu Chartier | e5f13e5 | 2015-02-24 09:37:21 -0800 | [diff] [blame] | 56 | const JitCodeCache* GetCodeCache() const { |
| 57 | return code_cache_.get(); |
| 58 | } |
Nicolas Geoffray | 274fe4a | 2016-04-12 16:33:24 +0100 | [diff] [blame] | 59 | |
Mathieu Chartier | e5f13e5 | 2015-02-24 09:37:21 -0800 | [diff] [blame] | 60 | JitCodeCache* GetCodeCache() { |
| 61 | return code_cache_.get(); |
| 62 | } |
Nicolas Geoffray | 274fe4a | 2016-04-12 16:33:24 +0100 | [diff] [blame] | 63 | |
Mathieu Chartier | e5f13e5 | 2015-02-24 09:37:21 -0800 | [diff] [blame] | 64 | void DeleteThreadPool(); |
Mathieu Chartier | a4885cb | 2015-03-09 15:38:54 -0700 | [diff] [blame] | 65 | // Dump interesting info: #methods compiled, code vs data size, compile / verify cumulative |
| 66 | // loggers. |
Nicolas Geoffray | a4f8154 | 2016-03-08 16:57:48 +0000 | [diff] [blame] | 67 | void DumpInfo(std::ostream& os) REQUIRES(!lock_); |
Mathieu Chartier | a4885cb | 2015-03-09 15:38:54 -0700 | [diff] [blame] | 68 | // Add a timing logger to cumulative_timings_. |
| 69 | void AddTimingLogger(const TimingLogger& logger); |
Nicolas Geoffray | a4f8154 | 2016-03-08 16:57:48 +0000 | [diff] [blame] | 70 | |
| 71 | void AddMemoryUsage(ArtMethod* method, size_t bytes) |
| 72 | REQUIRES(!lock_) |
| 73 | SHARED_REQUIRES(Locks::mutator_lock_); |
| 74 | |
Nicolas Geoffray | 274fe4a | 2016-04-12 16:33:24 +0100 | [diff] [blame] | 75 | size_t OSRMethodThreshold() const { |
| 76 | return osr_method_threshold_; |
Mathieu Chartier | a50f9cf | 2015-09-25 11:34:45 -0700 | [diff] [blame] | 77 | } |
Mathieu Chartier | e5f13e5 | 2015-02-24 09:37:21 -0800 | [diff] [blame] | 78 | |
Nicolas Geoffray | 274fe4a | 2016-04-12 16:33:24 +0100 | [diff] [blame] | 79 | size_t HotMethodThreshold() const { |
| 80 | return hot_method_threshold_; |
| 81 | } |
| 82 | |
| 83 | size_t WarmMethodThreshold() const { |
| 84 | return warm_method_threshold_; |
| 85 | } |
| 86 | |
| 87 | uint16_t PriorityThreadWeight() const { |
| 88 | return priority_thread_weight_; |
| 89 | } |
| 90 | |
Calin Juravle | ffc8707 | 2016-04-20 14:22:09 +0100 | [diff] [blame] | 91 | // Returns false if we only need to save profile information and not compile methods. |
| 92 | bool UseJitCompilation() const { |
| 93 | return use_jit_compilation_; |
| 94 | } |
| 95 | |
Calin Juravle | 138dbff | 2016-06-28 19:36:58 +0100 | [diff] [blame^] | 96 | bool GetSaveProfilingInfo() const { |
| 97 | return profile_saver_options_.IsEnabled(); |
Calin Juravle | ffc8707 | 2016-04-20 14:22:09 +0100 | [diff] [blame] | 98 | } |
| 99 | |
Nicolas Geoffray | 274fe4a | 2016-04-12 16:33:24 +0100 | [diff] [blame] | 100 | // Wait until there is no more pending compilation tasks. |
| 101 | void WaitForCompilationToFinish(Thread* self); |
| 102 | |
| 103 | // Profiling methods. |
| 104 | void MethodEntered(Thread* thread, ArtMethod* method) |
| 105 | SHARED_REQUIRES(Locks::mutator_lock_); |
| 106 | |
Nicolas Geoffray | 71cd50f | 2016-04-14 15:00:33 +0100 | [diff] [blame] | 107 | void AddSamples(Thread* self, ArtMethod* method, uint16_t samples, bool with_backedges) |
Nicolas Geoffray | 274fe4a | 2016-04-12 16:33:24 +0100 | [diff] [blame] | 108 | SHARED_REQUIRES(Locks::mutator_lock_); |
| 109 | |
| 110 | void InvokeVirtualOrInterface(Thread* thread, |
| 111 | mirror::Object* this_object, |
| 112 | ArtMethod* caller, |
| 113 | uint32_t dex_pc, |
| 114 | ArtMethod* callee) |
| 115 | SHARED_REQUIRES(Locks::mutator_lock_); |
| 116 | |
Nicolas Geoffray | 71cd50f | 2016-04-14 15:00:33 +0100 | [diff] [blame] | 117 | void NotifyInterpreterToCompiledCodeTransition(Thread* self, ArtMethod* caller) |
| 118 | SHARED_REQUIRES(Locks::mutator_lock_) { |
Calin Juravle | 155ff3d | 2016-04-27 14:14:58 +0100 | [diff] [blame] | 119 | AddSamples(self, caller, invoke_transition_weight_, false); |
Nicolas Geoffray | 71cd50f | 2016-04-14 15:00:33 +0100 | [diff] [blame] | 120 | } |
| 121 | |
| 122 | void NotifyCompiledCodeToInterpreterTransition(Thread* self, ArtMethod* callee) |
| 123 | SHARED_REQUIRES(Locks::mutator_lock_) { |
Calin Juravle | 155ff3d | 2016-04-27 14:14:58 +0100 | [diff] [blame] | 124 | AddSamples(self, callee, invoke_transition_weight_, false); |
Nicolas Geoffray | 71cd50f | 2016-04-14 15:00:33 +0100 | [diff] [blame] | 125 | } |
| 126 | |
Calin Juravle | c90bc92 | 2016-02-24 10:13:09 +0000 | [diff] [blame] | 127 | // Starts the profile saver if the config options allow profile recording. |
| 128 | // The profile will be stored in the specified `filename` and will contain |
| 129 | // information collected from the given `code_paths` (a set of dex locations). |
| 130 | // The `foreign_dex_profile_path` is the path where the saver will put the |
| 131 | // profile markers for loaded dex files which are not owned by the application. |
| 132 | // The `app_dir` is the application directory and is used to decide which |
| 133 | // dex files belong to the application. |
| 134 | void StartProfileSaver(const std::string& filename, |
| 135 | const std::vector<std::string>& code_paths, |
| 136 | const std::string& foreign_dex_profile_path, |
| 137 | const std::string& app_dir); |
Calin Juravle | 4d77b6a | 2015-12-01 18:38:09 +0000 | [diff] [blame] | 138 | void StopProfileSaver(); |
Calin Juravle | 31f2c15 | 2015-10-23 17:56:15 +0100 | [diff] [blame] | 139 | |
Calin Juravle | b8e6999 | 2016-03-09 15:37:48 +0000 | [diff] [blame] | 140 | void DumpForSigQuit(std::ostream& os) REQUIRES(!lock_); |
Nicolas Geoffray | aee2156 | 2015-12-15 16:39:44 +0000 | [diff] [blame] | 141 | |
Tamas Berghammer | 160e6df | 2016-01-05 14:29:02 +0000 | [diff] [blame] | 142 | static void NewTypeLoadedIfUsingJit(mirror::Class* type) |
| 143 | SHARED_REQUIRES(Locks::mutator_lock_); |
| 144 | |
Tamas Berghammer | fffbee4 | 2016-01-15 13:09:34 +0000 | [diff] [blame] | 145 | // If debug info generation is turned on then write the type information for types already loaded |
| 146 | // into the specified class linker to the jit debug interface, |
| 147 | void DumpTypeInfoForLoadedTypes(ClassLinker* linker); |
| 148 | |
Nicolas Geoffray | 3512244 | 2016-03-02 12:05:30 +0000 | [diff] [blame] | 149 | // Return whether we should try to JIT compiled code as soon as an ArtMethod is invoked. |
Siva Chandra | 05d2415 | 2016-01-05 17:43:17 -0800 | [diff] [blame] | 150 | bool JitAtFirstUse(); |
| 151 | |
Nicolas Geoffray | 3512244 | 2016-03-02 12:05:30 +0000 | [diff] [blame] | 152 | // Return whether we can invoke JIT code for `method`. |
| 153 | bool CanInvokeCompiledCode(ArtMethod* method); |
| 154 | |
Calin Juravle | b2771b4 | 2016-04-07 17:09:25 +0100 | [diff] [blame] | 155 | // Return whether the runtime should use a priority thread weight when sampling. |
| 156 | static bool ShouldUsePriorityThreadWeight(); |
| 157 | |
Nicolas Geoffray | b331feb | 2016-02-05 16:51:53 +0000 | [diff] [blame] | 158 | // If an OSR compiled version is available for `method`, |
| 159 | // and `dex_pc + dex_pc_offset` is an entry point of that compiled |
| 160 | // version, this method will jump to the compiled code, let it run, |
| 161 | // and return true afterwards. Return false otherwise. |
| 162 | static bool MaybeDoOnStackReplacement(Thread* thread, |
| 163 | ArtMethod* method, |
| 164 | uint32_t dex_pc, |
| 165 | int32_t dex_pc_offset, |
| 166 | JValue* result) |
| 167 | SHARED_REQUIRES(Locks::mutator_lock_); |
| 168 | |
Mathieu Chartier | c1bc415 | 2016-03-24 17:22:52 -0700 | [diff] [blame] | 169 | static bool LoadCompilerLibrary(std::string* error_msg); |
Mathieu Chartier | 72918ea | 2016-03-24 11:07:06 -0700 | [diff] [blame] | 170 | |
Mathieu Chartier | e5f13e5 | 2015-02-24 09:37:21 -0800 | [diff] [blame] | 171 | private: |
| 172 | Jit(); |
Mathieu Chartier | e5f13e5 | 2015-02-24 09:37:21 -0800 | [diff] [blame] | 173 | |
Mathieu Chartier | c1bc415 | 2016-03-24 17:22:52 -0700 | [diff] [blame] | 174 | static bool LoadCompiler(std::string* error_msg); |
| 175 | |
Mathieu Chartier | e5f13e5 | 2015-02-24 09:37:21 -0800 | [diff] [blame] | 176 | // JIT compiler |
Mathieu Chartier | 72918ea | 2016-03-24 11:07:06 -0700 | [diff] [blame] | 177 | static void* jit_library_handle_; |
| 178 | static void* jit_compiler_handle_; |
| 179 | static void* (*jit_load_)(bool*); |
| 180 | static void (*jit_unload_)(void*); |
| 181 | static bool (*jit_compile_method_)(void*, ArtMethod*, Thread*, bool); |
| 182 | static void (*jit_types_loaded_)(void*, mirror::Class**, size_t count); |
Mathieu Chartier | e5f13e5 | 2015-02-24 09:37:21 -0800 | [diff] [blame] | 183 | |
Mathieu Chartier | a4885cb | 2015-03-09 15:38:54 -0700 | [diff] [blame] | 184 | // Performance monitoring. |
| 185 | bool dump_info_on_shutdown_; |
| 186 | CumulativeLogger cumulative_timings_; |
Nicolas Geoffray | a4f8154 | 2016-03-08 16:57:48 +0000 | [diff] [blame] | 187 | Histogram<uint64_t> memory_use_ GUARDED_BY(lock_); |
| 188 | Mutex lock_ DEFAULT_MUTEX_ACQUIRED_AFTER; |
Mathieu Chartier | a4885cb | 2015-03-09 15:38:54 -0700 | [diff] [blame] | 189 | |
Mathieu Chartier | e5f13e5 | 2015-02-24 09:37:21 -0800 | [diff] [blame] | 190 | std::unique_ptr<jit::JitCodeCache> code_cache_; |
Mathieu Chartier | 3130cdf | 2015-05-03 15:20:23 -0700 | [diff] [blame] | 191 | |
Calin Juravle | ffc8707 | 2016-04-20 14:22:09 +0100 | [diff] [blame] | 192 | bool use_jit_compilation_; |
Calin Juravle | 138dbff | 2016-06-28 19:36:58 +0100 | [diff] [blame^] | 193 | ProfileSaverOptions profile_saver_options_; |
Mathieu Chartier | 72918ea | 2016-03-24 11:07:06 -0700 | [diff] [blame] | 194 | static bool generate_debug_info_; |
Nicolas Geoffray | 274fe4a | 2016-04-12 16:33:24 +0100 | [diff] [blame] | 195 | uint16_t hot_method_threshold_; |
| 196 | uint16_t warm_method_threshold_; |
| 197 | uint16_t osr_method_threshold_; |
| 198 | uint16_t priority_thread_weight_; |
Calin Juravle | 155ff3d | 2016-04-27 14:14:58 +0100 | [diff] [blame] | 199 | uint16_t invoke_transition_weight_; |
Nicolas Geoffray | 274fe4a | 2016-04-12 16:33:24 +0100 | [diff] [blame] | 200 | std::unique_ptr<ThreadPool> thread_pool_; |
Calin Juravle | 4d77b6a | 2015-12-01 18:38:09 +0000 | [diff] [blame] | 201 | |
Mathieu Chartier | 3130cdf | 2015-05-03 15:20:23 -0700 | [diff] [blame] | 202 | DISALLOW_COPY_AND_ASSIGN(Jit); |
Mathieu Chartier | e5f13e5 | 2015-02-24 09:37:21 -0800 | [diff] [blame] | 203 | }; |
| 204 | |
| 205 | class JitOptions { |
| 206 | public: |
| 207 | static JitOptions* CreateFromRuntimeArguments(const RuntimeArgumentMap& options); |
| 208 | size_t GetCompileThreshold() const { |
| 209 | return compile_threshold_; |
| 210 | } |
Nicolas Geoffray | 5550ca8 | 2015-08-21 18:38:30 +0100 | [diff] [blame] | 211 | size_t GetWarmupThreshold() const { |
| 212 | return warmup_threshold_; |
| 213 | } |
Nicolas Geoffray | b331feb | 2016-02-05 16:51:53 +0000 | [diff] [blame] | 214 | size_t GetOsrThreshold() const { |
| 215 | return osr_threshold_; |
| 216 | } |
Calin Juravle | b2771b4 | 2016-04-07 17:09:25 +0100 | [diff] [blame] | 217 | uint16_t GetPriorityThreadWeight() const { |
| 218 | return priority_thread_weight_; |
| 219 | } |
Calin Juravle | 155ff3d | 2016-04-27 14:14:58 +0100 | [diff] [blame] | 220 | size_t GetInvokeTransitionWeight() const { |
| 221 | return invoke_transition_weight_; |
| 222 | } |
Nicolas Geoffray | 0a3be16 | 2015-11-18 11:15:22 +0000 | [diff] [blame] | 223 | size_t GetCodeCacheInitialCapacity() const { |
| 224 | return code_cache_initial_capacity_; |
| 225 | } |
| 226 | size_t GetCodeCacheMaxCapacity() const { |
| 227 | return code_cache_max_capacity_; |
Mathieu Chartier | e5f13e5 | 2015-02-24 09:37:21 -0800 | [diff] [blame] | 228 | } |
Mathieu Chartier | a4885cb | 2015-03-09 15:38:54 -0700 | [diff] [blame] | 229 | bool DumpJitInfoOnShutdown() const { |
| 230 | return dump_info_on_shutdown_; |
| 231 | } |
Calin Juravle | 138dbff | 2016-06-28 19:36:58 +0100 | [diff] [blame^] | 232 | const ProfileSaverOptions& GetProfileSaverOptions() const { |
| 233 | return profile_saver_options_; |
| 234 | } |
Calin Juravle | 31f2c15 | 2015-10-23 17:56:15 +0100 | [diff] [blame] | 235 | bool GetSaveProfilingInfo() const { |
Calin Juravle | 138dbff | 2016-06-28 19:36:58 +0100 | [diff] [blame^] | 236 | return profile_saver_options_.IsEnabled(); |
Calin Juravle | 31f2c15 | 2015-10-23 17:56:15 +0100 | [diff] [blame] | 237 | } |
Calin Juravle | ffc8707 | 2016-04-20 14:22:09 +0100 | [diff] [blame] | 238 | bool UseJitCompilation() const { |
| 239 | return use_jit_compilation_; |
Mathieu Chartier | 455f67c | 2015-03-17 13:48:29 -0700 | [diff] [blame] | 240 | } |
Calin Juravle | ffc8707 | 2016-04-20 14:22:09 +0100 | [diff] [blame] | 241 | void SetUseJitCompilation(bool b) { |
| 242 | use_jit_compilation_ = b; |
Mathieu Chartier | 455f67c | 2015-03-17 13:48:29 -0700 | [diff] [blame] | 243 | } |
Calin Juravle | 138dbff | 2016-06-28 19:36:58 +0100 | [diff] [blame^] | 244 | void SetSaveProfilingInfo(bool save_profiling_info) { |
| 245 | profile_saver_options_.SetEnabled(save_profiling_info); |
Calin Juravle | 31f2c15 | 2015-10-23 17:56:15 +0100 | [diff] [blame] | 246 | } |
Siva Chandra | 05d2415 | 2016-01-05 17:43:17 -0800 | [diff] [blame] | 247 | void SetJitAtFirstUse() { |
Calin Juravle | ffc8707 | 2016-04-20 14:22:09 +0100 | [diff] [blame] | 248 | use_jit_compilation_ = true; |
Siva Chandra | 05d2415 | 2016-01-05 17:43:17 -0800 | [diff] [blame] | 249 | compile_threshold_ = 0; |
| 250 | } |
Mathieu Chartier | e5f13e5 | 2015-02-24 09:37:21 -0800 | [diff] [blame] | 251 | |
| 252 | private: |
Calin Juravle | ffc8707 | 2016-04-20 14:22:09 +0100 | [diff] [blame] | 253 | bool use_jit_compilation_; |
Nicolas Geoffray | 0a3be16 | 2015-11-18 11:15:22 +0000 | [diff] [blame] | 254 | size_t code_cache_initial_capacity_; |
| 255 | size_t code_cache_max_capacity_; |
Mathieu Chartier | e5f13e5 | 2015-02-24 09:37:21 -0800 | [diff] [blame] | 256 | size_t compile_threshold_; |
Nicolas Geoffray | 5550ca8 | 2015-08-21 18:38:30 +0100 | [diff] [blame] | 257 | size_t warmup_threshold_; |
Nicolas Geoffray | b331feb | 2016-02-05 16:51:53 +0000 | [diff] [blame] | 258 | size_t osr_threshold_; |
Calin Juravle | b2771b4 | 2016-04-07 17:09:25 +0100 | [diff] [blame] | 259 | uint16_t priority_thread_weight_; |
Calin Juravle | 155ff3d | 2016-04-27 14:14:58 +0100 | [diff] [blame] | 260 | size_t invoke_transition_weight_; |
Mathieu Chartier | a4885cb | 2015-03-09 15:38:54 -0700 | [diff] [blame] | 261 | bool dump_info_on_shutdown_; |
Calin Juravle | 138dbff | 2016-06-28 19:36:58 +0100 | [diff] [blame^] | 262 | ProfileSaverOptions profile_saver_options_; |
Mathieu Chartier | e5f13e5 | 2015-02-24 09:37:21 -0800 | [diff] [blame] | 263 | |
Nicolas Geoffray | 0a3be16 | 2015-11-18 11:15:22 +0000 | [diff] [blame] | 264 | JitOptions() |
Calin Juravle | ffc8707 | 2016-04-20 14:22:09 +0100 | [diff] [blame] | 265 | : use_jit_compilation_(false), |
Nicolas Geoffray | 0a3be16 | 2015-11-18 11:15:22 +0000 | [diff] [blame] | 266 | code_cache_initial_capacity_(0), |
| 267 | code_cache_max_capacity_(0), |
| 268 | compile_threshold_(0), |
Calin Juravle | 138dbff | 2016-06-28 19:36:58 +0100 | [diff] [blame^] | 269 | dump_info_on_shutdown_(false) {} |
Mathieu Chartier | 3130cdf | 2015-05-03 15:20:23 -0700 | [diff] [blame] | 270 | |
| 271 | DISALLOW_COPY_AND_ASSIGN(JitOptions); |
Mathieu Chartier | e5f13e5 | 2015-02-24 09:37:21 -0800 | [diff] [blame] | 272 | }; |
| 273 | |
| 274 | } // namespace jit |
| 275 | } // namespace art |
| 276 | |
| 277 | #endif // ART_RUNTIME_JIT_JIT_H_ |