/art/compiler/utils/ |
D | swap_space.cc | 55 inline void SwapSpace::InsertChunk(const SpaceChunk& chunk) { in InsertChunk() argument 56 DCHECK_NE(chunk.size, 0u); in InsertChunk() 57 auto insert_result = free_by_start_.insert(chunk); in InsertChunk() 59 free_by_size_.emplace(chunk.size, insert_result.first); in InsertChunk() 74 for (const SpaceChunk& chunk : free_by_start_) { in ~SwapSpace() local 75 if (munmap(chunk.ptr, chunk.size) != 0) { in ~SwapSpace() 77 << static_cast<const void*>(chunk.ptr) << " size=" << chunk.size; in ~SwapSpace() 184 SpaceChunk chunk = { reinterpret_cast<uint8_t*>(ptr), size }; in Free() local 185 auto it = free_by_start_.lower_bound(chunk); in Free() 189 CHECK_LE(prev->End(), chunk.Start()); in Free() [all …]
|
D | swap_space.h | 95 void InsertChunk(const SpaceChunk& chunk) REQUIRES(lock_);
|
/art/test/1940-ddms-ext/ |
D | expected.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: 1213221190 25 Expected chunk type published: 1297109829
|
D | ddm_ext.cc | 55 jobject chunk) { in Java_art_Test1940_processChunk() argument 61 CHECK(chunk != nullptr); in Java_art_Test1940_processChunk() 72 jint type = env->GetIntField(chunk, type_field_id); in Java_art_Test1940_processChunk() 73 jint off = env->GetIntField(chunk, offset_field_id); in Java_art_Test1940_processChunk() 74 jint len = env->GetIntField(chunk, length_field_id); in Java_art_Test1940_processChunk() 76 env, reinterpret_cast<jbyteArray>(env->GetObjectField(chunk, data_field_id))); in Java_art_Test1940_processChunk()
|
/art/compiler/ |
D | common_compiler_test.cc | 62 std::vector<uint8_t>* chunk = &header_code_and_maps_chunks_.back(); in MakeExecutable() local 65 chunk->reserve(size + max_padding); in MakeExecutable() 66 chunk->resize(sizeof(method_header)); in MakeExecutable() 68 memcpy(&(*chunk)[0], &method_header, sizeof(method_header)); in MakeExecutable() 69 chunk->insert(chunk->begin(), vmap_table.begin(), vmap_table.end()); in MakeExecutable() 70 chunk->insert(chunk->end(), code.begin(), code.end()); in MakeExecutable() 71 CHECK_EQ(chunk->size(), size); in MakeExecutable() 72 const void* unaligned_code_ptr = chunk->data() + (size - code_size); in MakeExecutable() 76 CHECK_GE(chunk->capacity(), chunk->size() + padding); in MakeExecutable() 77 chunk->insert(chunk->begin(), padding, 0); in MakeExecutable() [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 | debugger.cc | 4210 ScopedLocalRef<jobject> chunk( in DdmHandleChunk() local 4225 if (chunk.get() == nullptr) { in DdmHandleChunk() 4245 chunk.get(), WellKnownClasses::org_apache_harmony_dalvik_ddmc_Chunk_data))); in DdmHandleChunk() 4246 jint offset = env->GetIntField(chunk.get(), in DdmHandleChunk() 4248 jint length = env->GetIntField(chunk.get(), in DdmHandleChunk() 4250 *out_type = env->GetIntField(chunk.get(), 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/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/compiler/optimizing/ |
D | loop_optimization.cc | 1049 uint32_t chunk = vector_length_ * unroll; in Vectorize() local 1051 DCHECK(trip_count == 0 || (trip_count >= MaxNumberPeeled() + chunk)); in Vectorize() 1056 ((trip_count - vector_static_peeling_factor_) % chunk) != 0; in Vectorize() 1109 DCHECK(IsPowerOfTwo(chunk)); in Vectorize() 1121 graph_->GetConstant(induc_type, chunk - 1))); in Vectorize()
|