Home
last modified time | relevance | path

Searched refs:jit_lock_ (Results 1 – 10 of 10) sorted by relevance

/art/runtime/jit/
Djit_code_cache.h122 void Initialize(uint32_t number_of_methods) REQUIRES(!Locks::jit_lock_);
125 void Put(const void* code, ArtMethod* method) REQUIRES(Locks::jit_lock_);
203 REQUIRES(!Locks::jit_lock_);
207 REQUIRES(!Locks::jit_lock_);
215 REQUIRES(!Locks::jit_lock_);
219 REQUIRES(!Locks::jit_lock_);
223 REQUIRES(!Locks::jit_lock_);
232 bool ContainsMethod(ArtMethod* method) REQUIRES(!Locks::jit_lock_);
235 const void* GetJniStubCode(ArtMethod* method) REQUIRES(!Locks::jit_lock_);
248 REQUIRES(!Locks::jit_lock_);
[all …]
Djit_memory_region.h73 REQUIRES(Locks::jit_lock_);
77 bool IncreaseCodeCacheCapacity() REQUIRES(Locks::jit_lock_);
80 void SetFootprintLimit(size_t new_footprint) REQUIRES(Locks::jit_lock_);
82 const uint8_t* AllocateCode(size_t code_size) REQUIRES(Locks::jit_lock_);
83 void FreeCode(const uint8_t* code) REQUIRES(Locks::jit_lock_);
84 const uint8_t* AllocateData(size_t data_size) REQUIRES(Locks::jit_lock_);
85 void FreeData(const uint8_t* data) REQUIRES(Locks::jit_lock_);
86 void FreeData(uint8_t* writable_data) REQUIRES(Locks::jit_lock_) = delete;
87 void FreeWritableData(uint8_t* writable_data) REQUIRES(Locks::jit_lock_);
95 REQUIRES(Locks::jit_lock_);
[all …]
Ddebugger_interface.h57 REQUIRES_SHARED(Locks::jit_lock_); // Might need JIT code cache to allocate memory.
65 REQUIRES_SHARED(Locks::jit_lock_); // Might need JIT code cache to allocate memory.
68 size_t GetJitMiniDebugInfoMemUsage() REQUIRES_SHARED(Locks::jit_lock_);
Djit_code_cache.cc236 MutexLock mu(Thread::Current(), *Locks::jit_lock_); in Create()
265 inline_cache_cond_("Jit inline cache condition variable", *Locks::jit_lock_), in JitCodeCache()
267 lock_cond_("Jit code cache condition variable", *Locks::jit_lock_), in JitCodeCache()
291 MutexLock mu(Thread::Current(), *Locks::jit_lock_); in ContainsMethod()
314 MutexLock mu(Thread::Current(), *Locks::jit_lock_); in GetJniStubCode()
331 MutexLock mu(Thread::Current(), *Locks::jit_lock_); in GetSavedEntryPointOfPreCompiledMethod()
402 MutexLock mu(Thread::Current(), *Locks::jit_lock_); in SweepRootTables()
514 MutexLock mu(self, *Locks::jit_lock_); in RemoveMethodsIn()
572 MutexLock mu(self, *Locks::jit_lock_); in WaitUntilInlineCacheAccessible()
580 MutexLock mu(self, *Locks::jit_lock_); in BroadcastForInlineCacheAccess()
[all …]
Ddebugger_interface.cc239 static jit::JitMemoryRegion* Memory() ASSERT_CAPABILITY(Locks::jit_lock_) { in Memory()
240 Locks::jit_lock_->AssertHeld(Thread::Current()); in Memory()
466 MutexLock mu(Thread::Current(), *Locks::jit_lock_); // Needed to alloc entry. in NativeDebugInfoPreFork()
Djit_memory_region.cc437 REQUIRES(Locks::jit_lock_) in FillRootTable()
499 void JitMemoryRegion::FreeWritableData(uint8_t* writable_data) REQUIRES(Locks::jit_lock_) { in FreeWritableData()
/art/runtime/base/
Dlocks.h339 static Mutex* jit_lock_ ACQUIRED_AFTER(custom_tls_lock_);
342 static Mutex* cha_lock_ ACQUIRED_AFTER(jit_lock_);
Dlocks.cc66 Mutex* Locks::jit_lock_ = nullptr; member in art::Locks
152 DCHECK(jit_lock_ != nullptr); in Init()
311 DCHECK(jit_lock_ == nullptr); in Init()
312 jit_lock_ = new Mutex("Jit code cache", current_lock_level); in Init()
/art/test/667-jit-jni-stub/
Djit_jni_stub_test.cc34 MutexLock mu(self, *Locks::jit_lock_); in isNextJitGcFull()
/art/compiler/jit/
Djit_compiler.cc138 MutexLock mu(Thread::Current(), *Locks::jit_lock_); in TypesLoaded()