/art/dex2oat/utils/ |
D | swap_space.cc | 56 inline void SwapSpace::InsertChunk(const SpaceChunk& chunk) { in InsertChunk() argument 57 DCHECK_NE(chunk.size, 0u); in InsertChunk() 58 auto insert_result = free_by_start_.insert(chunk); in InsertChunk() 60 free_by_size_.emplace(chunk.size, insert_result.first); in InsertChunk() 75 for (const SpaceChunk& chunk : free_by_start_) { in ~SwapSpace() local 76 if (munmap(chunk.ptr, chunk.size) != 0) { in ~SwapSpace() 78 << static_cast<const void*>(chunk.ptr) << " size=" << chunk.size; in ~SwapSpace() 186 SpaceChunk chunk = { reinterpret_cast<uint8_t*>(ptr), size }; in Free() local 187 auto it = free_by_start_.lower_bound(chunk); in Free() 191 CHECK_LE(prev->End(), chunk.Start()); in Free() [all …]
|
D | swap_space.h | 96 void InsertChunk(const SpaceChunk& chunk) REQUIRES(lock_);
|
/art/test/1940-ddms-ext/ |
D | expected-stdout.txt | 5 JVMTI returned chunk: Chunk(Type: 0xFADE7357, Len: 8, data: [0, 0, 0, 0, 0, -128, 0, 37]) 10 JVMTI returned chunk: Chunk(Type: 0xFADE7357, Len: 8, data: [0, 0, 0, 0, 0, 0, 0, 1]) 11 Sending chunk: Chunk(Type: 0xDEADBEEF, Len: 8, data: [9, 10, 11, 12, 13, 14, 15, 16]) 13 Sending data [1] to chunk handler -1412567295 15 JVMTI returned chunk: Chunk(Type: 0xFADE7357, Len: 0, data: []) 16 Sending data [1] to chunk handler 305419896 24 Expected chunk type published: 1297109829
|
D | ddm_ext.cc | 64 jobject chunk) { in Java_art_Test1940_processChunk() argument 70 CHECK(chunk != nullptr); in Java_art_Test1940_processChunk() 81 jint type = env->GetIntField(chunk, type_field_id); in Java_art_Test1940_processChunk() 82 jint off = env->GetIntField(chunk, offset_field_id); in Java_art_Test1940_processChunk() 83 jint len = env->GetIntField(chunk, length_field_id); in Java_art_Test1940_processChunk() 85 env, reinterpret_cast<jbyteArray>(env->GetObjectField(chunk, data_field_id))); in Java_art_Test1940_processChunk()
|
/art/runtime/base/ |
D | gc_visited_arena_pool.cc | 126 Chunk* chunk = new Chunk(map.Begin(), map.Size()); in AddMap() local 127 best_fit_allocs_.insert(chunk); in AddMap() 128 free_chunks_.insert(chunk); in AddMap() 142 for (Chunk* chunk : free_chunks_) { in ~GcVisitedArenaPool() 143 delete chunk; in ~GcVisitedArenaPool() 241 Chunk* chunk = *best_fit_iter; in AllocArena() local 242 DCHECK_EQ(chunk, *free_chunks_iter); in AllocArena() 244 if (chunk->size_ < 2 * size) { in AllocArena() 245 DCHECK_GE(chunk->size_, size); in AllocArena() 246 auto insert_result = allocated_arenas_.insert(new TrackedArena(chunk->addr_, in AllocArena() [all …]
|
/art/runtime/ |
D | monitor_pool.cc | 60 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_[current_chunk_list_index_][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()
|
D | monitor_inflation.md | 30 `MonitorId` are the index of the `Monitor` within its chunk. The remaining bits are used to find 31 the correct chunk. 33 Continuing with the 64-bit case, chunk addresses are stored in the `monitor_chunks_` data
|
D | debugger.cc | 202 ObjPtr<mirror::Object> chunk = dispatch->InvokeStatic<'L', 'I', 'L', 'I', 'I'>( in DdmHandleChunk() local 211 if (chunk == nullptr) { in DdmHandleChunk() 228 WellKnownClasses::org_apache_harmony_dalvik_ddmc_Chunk_data->GetObject(chunk)); in DdmHandleChunk() 229 jint offset = WellKnownClasses::org_apache_harmony_dalvik_ddmc_Chunk_offset->GetInt(chunk); in DdmHandleChunk() 230 jint length = WellKnownClasses::org_apache_harmony_dalvik_ddmc_Chunk_length->GetInt(chunk); in DdmHandleChunk() 231 *out_type = WellKnownClasses::org_apache_harmony_dalvik_ddmc_Chunk_type->GetInt(chunk); in DdmHandleChunk()
|
/art/runtime/native/ |
D | org_apache_harmony_dalvik_ddmc_DdmServer.cc | 36 ArrayRef<const uint8_t> chunk(reinterpret_cast<const uint8_t*>(&data[offset]), in DdmServer_nativeSendChunk() 38 Runtime::Current()->GetRuntimeCallbacks()->DdmPublishChunk(static_cast<uint32_t>(type), chunk); in DdmServer_nativeSendChunk()
|
/art/runtime/gc/space/ |
D | image_space.cc | 1671 for (const ImageChunk& chunk : chunks_) { in ValidateBootImageChecksum() local 1675 if (chunk.start_index != component_count) { in ValidateBootImageChecksum() 1678 if (chunk.component_count > boot_image_component_count - component_count) { in ValidateBootImageChecksum() 1684 component_count + chunk.component_count); in ValidateBootImageChecksum() 1687 component_count += chunk.component_count; in ValidateBootImageChecksum() 1688 composite_checksum ^= chunk.checksum; in ValidateBootImageChecksum() 1689 boot_image_size += chunk.reservation_size; in ValidateBootImageChecksum() 1856 ImageChunk chunk; in ReadHeader() local 1857 chunk.base_location = base_location; in ReadHeader() 1858 chunk.base_filename = base_filename; in ReadHeader() [all …]
|
/art/runtime/oat/ |
D | oat_file_assistant_context.cc | 142 for (const ImageSpace::BootImageLayout::ImageChunk& chunk : layout.GetChunks()) { in GetBootImageInfoList() local 144 boot_image_info.component_count = chunk.component_count; in GetBootImageInfoList() 146 chunk.component_count, chunk.checksum, &boot_image_info.checksum); in GetBootImageInfoList()
|
/art/test/074-gc-thrash/src/ |
D | Main.java | 333 byte[] chunk; in run() 341 chunk = new byte[100000]; in run() 342 pretendToUse(chunk); in run() 357 public void pretendToUse(byte[] chunk) {} in pretendToUse() argument
|
/art/tools/jvmti-agents/list-extensions/ |
D | README.md | 37 …agent or other clients can use. The agent is given the 'type' of the ddms chunk and a 'data_size' …
|
/art/compiler/optimizing/ |
D | loop_optimization.cc | 1382 uint32_t chunk = vector_length_ * unroll; in VectorizeTraditional() local 1384 DCHECK(trip_count == 0 || (trip_count >= MaxNumberPeeled() + chunk)); in VectorizeTraditional() 1389 (trip_count == 0 || ((trip_count - vector_static_peeling_factor_) % chunk) != 0); in VectorizeTraditional() 1442 DCHECK(IsPowerOfTwo(chunk)); in VectorizeTraditional() 1454 graph_->GetConstant(induc_type, chunk - 1))); in VectorizeTraditional()
|