Lines Matching defs:JitFort
31 FreeListAllocator<MemDesc>::FreeListAllocator(BaseHeap *heap, MemDescPool *pool, JitFort *fort)
37 JitFort::JitFort()
47 LOG_JIT(DEBUG) << "JitFort Begin " << (void *)JitFortBegin() << " end " << (void *)(JitFortBegin() + JitFortSize());
50 JitFort::~JitFort()
62 void JitFort::InitRegions()
75 bool JitFort::AddRegion()
87 size_t JitFort::FortAllocSize(size_t instrSize)
92 uintptr_t JitFort::Allocate(MachineCodeDesc *desc)
100 LOG_JIT(DEBUG) << "JitFort: Allocate - AddRegion";
105 LOG_JIT(DEBUG) << "JitFort:: Allocate return nullptr for size " << size;
109 // JitFort::UpdateFreeSpace in case corresponding Machine code object is not
113 LOG_JIT(DEBUG) << "JitFort:: Allocate " << (void *)ret << " - " << (void *)(ret+size-1) <<
125 // This encoding requires 4 GCBitset bits to mark a live JitFort
127 void JitFort::MarkJitFortMemAlive(MachineCode *obj)
139 // Called by Jit Compile thread during JitFort Allocate to mark Fort buf
141 // See JitFort::MarkJitFortMemAlive comments for mark bit encoding in GC bitset.
142 void JitFort::MarkJitFortMemAwaitInstall(uintptr_t addr, size_t size)
154 // See JitFort::MarkJitFortMemAlive comments for mark bit encoding in GC bitset.
155 void JitFort::MarkJitFortMemInstalled(MachineCode *obj)
165 uint32_t JitFort::AddrToFortRegionIdx(uint64_t addr)
175 * to ensure exclusive access to JitFort memory by GC thread when it frees JitFort mem
178 void JitFort::UpdateFreeSpace()
202 void JitFort::FreeRegion(JitFortRegion *region)
204 LOG_JIT(DEBUG) << "JitFort FreeRegion " << (void*)(region->GetBegin());
224 bool JitFort::InRange(uintptr_t address) const
230 void JitFort::PrepareSweeping()
235 // concurrent sweep - only one of the AsyncSweep task will do JitFort sweep
236 void JitFort::AsyncSweep()
240 LOG_JIT(DEBUG) << "JitFort::AsyncSweep";
246 void JitFort::Sweep()
248 LOG_JIT(DEBUG) << "JitFort::Sweep";
252 // Used by JitFort::UpdateFreeSpace call path to find corresponding
253 // JitFortRegion for a free block in JitFort space, in order to put the blk into
255 JitFortRegion *JitFort::ObjectAddressToRange(uintptr_t addr)
279 // See JitFort::MarkJitFortMemAlive comments for mark bit encoding in JitFort GC bitset.
312 bool JitFort::isResourceAvailable_ = true;
313 bool JitFort::IsResourceAvailable()
317 void JitFort::InitJitFortResource()