Home
last modified time | relevance | path

Searched refs:JitMemoryRegion (Results 1 – 13 of 13) sorted by relevance

/art/runtime/jit/
Djit_memory_region.cc45 bool JitMemoryRegion::Initialize(size_t initial_capacity, in Initialize()
305 void JitMemoryRegion::SetFootprintLimit(size_t new_footprint) { in SetFootprintLimit()
315 bool JitMemoryRegion::IncreaseCodeCacheCapacity() { in IncreaseCodeCacheCapacity()
340 void* JitMemoryRegion::MoreCore(const void* mspace, intptr_t increment) NO_THREAD_SAFETY_ANALYSIS { in MoreCore()
356 const uint8_t* JitMemoryRegion::CommitCode(ArrayRef<const uint8_t> reserved_code, in CommitCode()
447 bool JitMemoryRegion::CommitData(ArrayRef<const uint8_t> reserved_data, in CommitData()
466 const uint8_t* JitMemoryRegion::AllocateCode(size_t size) { in AllocateCode()
476 void JitMemoryRegion::FreeCode(const uint8_t* code) { in FreeCode()
482 const uint8_t* JitMemoryRegion::AllocateData(size_t data_size) { in AllocateData()
491 void JitMemoryRegion::FreeData(const uint8_t* data) { in FreeData()
[all …]
Djit_scoped_code_cache_write.h28 class JitMemoryRegion; variable
38 explicit ScopedCodeCacheWrite(const JitMemoryRegion& region) in ScopedCodeCacheWrite()
63 const JitMemoryRegion& region_;
Djit_memory_region_test.cc62 android::base::unique_fd fd(JitMemoryRegion::CreateZygoteMemory(page_size, &error_msg)); in BasicTest()
76 bool res = JitMemoryRegion::ProtectZygoteMemory(fd.get(), &error_msg); in BasicTest()
118 android::base::unique_fd fd(JitMemoryRegion::CreateZygoteMemory(page_size, &error_msg)); in TestUnmapWritableAfterFork()
137 bool res = JitMemoryRegion::ProtectZygoteMemory(fd.get(), &error_msg); in TestUnmapWritableAfterFork()
144 android::base::unique_fd fd2(JitMemoryRegion::CreateZygoteMemory(page_size, &error_msg)); in TestUnmapWritableAfterFork()
215 android::base::unique_fd fd(JitMemoryRegion::CreateZygoteMemory(page_size, &error_msg)); in TestMadviseDontFork()
235 bool res = JitMemoryRegion::ProtectZygoteMemory(fd.get(), &error_msg); in TestMadviseDontFork()
242 android::base::unique_fd fd2(JitMemoryRegion::CreateZygoteMemory(page_size, &error_msg)); in TestMadviseDontFork()
312 android::base::unique_fd fd(JitMemoryRegion::CreateZygoteMemory(page_size, &error_msg)); in TestFromSharedToPrivate()
326 android::base::unique_fd fd2(JitMemoryRegion::CreateZygoteMemory(page_size, &error_msg)); in TestFromSharedToPrivate()
[all …]
Djit_code_cache.h118 explicit ZygoteMap(JitMemoryRegion* region) in ZygoteMap()
173 JitMemoryRegion* const region_;
251 JitMemoryRegion* region,
269 JitMemoryRegion* region,
284 void Free(Thread* self, JitMemoryRegion* region, const uint8_t* code, const uint8_t* data)
287 void FreeLocked(JitMemoryRegion* region, const uint8_t* code, const uint8_t* data)
401 JitMemoryRegion* GetCurrentRegion();
402 bool IsSharedRegion(const JitMemoryRegion& region) const { return &region == &shared_region_; } in IsSharedRegion()
407 JitMemoryRegion* region = GetCurrentRegion(); in CanAllocateProfilingInfo()
531 JitMemoryRegion shared_region_;
[all …]
Djit_memory_region.h51 class JitMemoryRegion {
53 JitMemoryRegion() in JitMemoryRegion() function
Djit.h59 class JitMemoryRegion; variable
70 Thread* self, JitMemoryRegion* region, ArtMethod* method, CompilationKind compilation_kind)
Ddebugger_interface.cc245 static jit::JitMemoryRegion* Memory() ASSERT_CAPABILITY(Locks::jit_lock_) { in Memory()
249 jit::JitMemoryRegion* memory = jit_code_cache->GetCurrentRegion(); in Memory()
Djit_code_cache.cc227 JitMemoryRegion region; in Create()
653 JitMemoryRegion* region, in Commit()
958 JitMemoryRegion* region, in Reserve()
1017 JitMemoryRegion* region, in Free()
1025 void JitCodeCache::FreeLocked(JitMemoryRegion* region, const uint8_t* code, const uint8_t* data) { in FreeLocked()
1845 JitMemoryRegion* JitCodeCache::GetCurrentRegion() { in GetCurrentRegion()
Djit.cc205 JitMemoryRegion* region = GetCodeCache()->GetCurrentRegion(); in CompileMethodInternal()
/art/compiler/jit/
Djit_compiler.h36 class JitMemoryRegion; variable
45 Thread* self, JitMemoryRegion* region, ArtMethod* method, CompilationKind kind)
Djit_compiler.cc177 Thread* self, JitMemoryRegion* region, ArtMethod* method, CompilationKind compilation_kind) { in CompileMethod()
/art/compiler/
Dcompiler.h34 class JitMemoryRegion; variable
72 [[maybe_unused]] jit::JitMemoryRegion* region, in JitCompile()
/art/compiler/optimizing/
Doptimizing_compiler.cc279 jit::JitMemoryRegion* region,
1260 jit::JitMemoryRegion* region, in JitCompile()