Home
last modified time | relevance | path

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

/art/compiler/utils/
Dswap_space.cc55 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 …]
Dswap_space.h95 void InsertChunk(const SpaceChunk& chunk) REQUIRES(lock_);
/art/test/1940-ddms-ext/
Dexpected.txt5 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
Dddm_ext.cc64 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/compiler/
Dcommon_compiler_test.cc73 std::vector<uint8_t>* chunk = &header_code_and_maps_chunks_.back(); in MakeExecutable() local
76 chunk->reserve(size + max_padding); in MakeExecutable()
77 chunk->resize(sizeof(method_header)); in MakeExecutable()
79 memcpy(&(*chunk)[0], &method_header, sizeof(method_header)); in MakeExecutable()
80 chunk->insert(chunk->begin(), vmap_table.begin(), vmap_table.end()); in MakeExecutable()
81 chunk->insert(chunk->end(), code.begin(), code.end()); in MakeExecutable()
82 CHECK_EQ(chunk->size(), size); in MakeExecutable()
83 const void* unaligned_code_ptr = chunk->data() + (size - code_size); in MakeExecutable()
87 CHECK_GE(chunk->capacity(), chunk->size() + padding); in MakeExecutable()
88 chunk->insert(chunk->begin(), padding, 0); 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_[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()
Ddebugger.cc201 ScopedLocalRef<jobject> chunk( in DdmHandleChunk() local
216 if (chunk.get() == nullptr) { in DdmHandleChunk()
236 chunk.get(), WellKnownClasses::org_apache_harmony_dalvik_ddmc_Chunk_data))); in DdmHandleChunk()
237 jint offset = env->GetIntField(chunk.get(), in DdmHandleChunk()
239 jint length = env->GetIntField(chunk.get(), in DdmHandleChunk()
241 *out_type = env->GetIntField(chunk.get(), in DdmHandleChunk()
/art/runtime/native/
Dorg_apache_harmony_dalvik_ddmc_DdmServer.cc36 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/
Dimage_space.cc1984 for (const ImageChunk& chunk : chunks_) { in ValidateBootImageChecksum() local
1988 if (chunk.start_index != component_count) { in ValidateBootImageChecksum()
1991 if (chunk.component_count > boot_image_component_count - component_count) { in ValidateBootImageChecksum()
1997 component_count + chunk.component_count); in ValidateBootImageChecksum()
2000 component_count += chunk.component_count; in ValidateBootImageChecksum()
2001 composite_checksum ^= chunk.checksum; in ValidateBootImageChecksum()
2002 boot_image_size += chunk.reservation_size; in ValidateBootImageChecksum()
2082 ImageChunk chunk; in ReadHeader() local
2083 chunk.base_location = base_location; in ReadHeader()
2084 chunk.base_filename = base_filename; in ReadHeader()
[all …]
/art/test/074-gc-thrash/src/
DMain.java333 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/
DREADME.md37 …agent or other clients can use. The agent is given the 'type' of the ddms chunk and a 'data_size' …
/art/compiler/optimizing/
Dloop_optimization.cc1049 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()