Home
last modified time | relevance | path

Searched refs:chunk (Results 1 – 5 of 5) sorted by relevance

/art/compiler/utils/
Dswap_space.cc59 const SpaceChunk& chunk) { in InsertChunk() argument
60 DCHECK_NE(chunk.size, 0u); in InsertChunk()
61 auto insert_result = free_by_start->insert(chunk); in InsertChunk()
63 free_by_size->emplace(chunk.size, insert_result.first); in InsertChunk()
172 SpaceChunk chunk = { reinterpret_cast<uint8_t*>(ptrV), size }; in Free() local
173 auto it = free_by_start_.lower_bound(chunk); in Free()
177 CHECK_LE(prev->End(), chunk.Start()); in Free()
178 if (prev->End() == chunk.Start()) { in Free()
180 chunk.size += prev->size; in Free()
181 chunk.ptr -= prev->size; in Free()
[all …]
/art/compiler/
Dcommon_compiler_test.cc78 std::vector<uint8_t>* chunk = &header_code_and_maps_chunks_.back(); in MakeExecutable() local
83 chunk->reserve(padding + size); in MakeExecutable()
84 chunk->resize(sizeof(method_header)); in MakeExecutable()
85 memcpy(&(*chunk)[0], &method_header, sizeof(method_header)); in MakeExecutable()
86 chunk->insert(chunk->begin(), vmap_table->begin(), vmap_table->end()); in MakeExecutable()
88 chunk->insert(chunk->begin(), mapping_table->begin(), mapping_table->end()); in MakeExecutable()
91 chunk->insert(chunk->begin(), gc_map->begin(), gc_map->end()); in MakeExecutable()
93 chunk->insert(chunk->begin(), padding, 0); in MakeExecutable()
94 chunk->insert(chunk->end(), code->begin(), code->end()); in MakeExecutable()
95 CHECK_EQ(padding + size, chunk->size()); in MakeExecutable()
[all …]
/art/runtime/
Dmonitor_pool.cc60 void* chunk = allocator_.allocate(kChunkSize); in AllocateChunk() local
62 CHECK_NE(reinterpret_cast<uintptr_t>(nullptr), reinterpret_cast<uintptr_t>(chunk)); in AllocateChunk()
64 CHECK_EQ(0U, reinterpret_cast<uintptr_t>(chunk) % kMonitorAlignment); in AllocateChunk()
67 *(monitor_chunks_.LoadRelaxed() + num_chunks_) = reinterpret_cast<uintptr_t>(chunk); in AllocateChunk()
71 Monitor* last = reinterpret_cast<Monitor*>(reinterpret_cast<uintptr_t>(chunk) + in AllocateChunk()
87 DCHECK(last == reinterpret_cast<Monitor*>(chunk)); in AllocateChunk()
Ddebugger.cc4218 …ScopedLocalRef<jobject> chunk(env, env->CallStaticObjectMethod(WellKnownClasses::org_apache_harmon… in DdmHandlePacket() local
4228 if (chunk.get() == nullptr) { in DdmHandlePacket()
4244 …ScopedLocalRef<jbyteArray> replyData(env, reinterpret_cast<jbyteArray>(env->GetObjectField(chunk.g… in DdmHandlePacket()
4245 …jint offset = env->GetIntField(chunk.get(), WellKnownClasses::org_apache_harmony_dalvik_ddmc_Chunk… in DdmHandlePacket()
4246 …length = env->GetIntField(chunk.get(), WellKnownClasses::org_apache_harmony_dalvik_ddmc_Chunk_leng… in DdmHandlePacket()
4247 type = env->GetIntField(chunk.get(), WellKnownClasses::org_apache_harmony_dalvik_ddmc_Chunk_type); in DdmHandlePacket()
/art/test/074-gc-thrash/src/
DMain.java334 byte[] chunk; in run()
342 chunk = new byte[100000]; in run()
343 pretendToUse(chunk); in run()
358 public void pretendToUse(byte[] chunk) {} in pretendToUse() argument