Searched refs:kChunkSize (Results 1 – 3 of 3) sorted by relevance
143 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; variable197 static_assert(IsPowerOfTwo(kChunkSize), "kChunkSize must be power of 2");211 static_assert(kMaxListSize * kChunkSize < (1 << LockWord::kMonitorIdSize),
60 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()
35 constexpr size_t kChunkSize = 16 * KB; variable52 lzma2Props.blockSize = kChunkSize; in XzCompress()