Home
last modified time | relevance | path

Searched refs:kChunkSize (Results 1 – 3 of 3) sorted by relevance

/art/runtime/
Dmonitor_pool.h143 size_t index = offset / kChunkSize; in LookupMonitor()
146 size_t offset_in_chunk = offset % kChunkSize; in LookupMonitor()
153 return base_addr <= mon_ptr && (mon_ptr - base_addr < kChunkSize); in IsInChunk()
167 + i * (kMaxListSize * kChunkSize) + j * kChunkSize); in ComputeMonitorIdInPool()
196 static constexpr size_t kChunkSize = kPageSize; variable
197 static_assert(IsPowerOfTwo(kChunkSize), "kChunkSize must be power of 2");
211 static_assert(kMaxListSize * kChunkSize < (1 << LockWord::kMonitorIdSize),
Dmonitor_pool.cc60 void* chunk = allocator_.allocate(kChunkSize); in AllocateChunk()
75 last->monitor_id_ = OffsetToMonitorId(current_chunk_list_index_* (kMaxListSize * kChunkSize) in AllocateChunk()
76 + (num_chunks_ - 1) * kChunkSize + (kChunkCapacity - 1) * kAlignedMonitorSize); in AllocateChunk()
99 allocator_.deallocate(reinterpret_cast<uint8_t*>(monitor_chunks_[i][j]), kChunkSize); in FreeInternal()
/art/libelffile/elf/
Dxz_utils.cc35 constexpr size_t kChunkSize = 16 * KB; variable
52 lzma2Props.blockSize = kChunkSize; in XzCompress()