Home
last modified time | relevance | path

Searched refs:chunk (Results 1 – 11 of 11) 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-stdout.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: 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/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.cc1736 for (const ImageChunk& chunk : chunks_) { in ValidateBootImageChecksum() local
1740 if (chunk.start_index != component_count) { in ValidateBootImageChecksum()
1743 if (chunk.component_count > boot_image_component_count - component_count) { in ValidateBootImageChecksum()
1749 component_count + chunk.component_count); in ValidateBootImageChecksum()
1752 component_count += chunk.component_count; in ValidateBootImageChecksum()
1753 composite_checksum ^= chunk.checksum; in ValidateBootImageChecksum()
1754 boot_image_size += chunk.reservation_size; in ValidateBootImageChecksum()
1834 ImageChunk chunk; in ReadHeader() local
1835 chunk.base_location = base_location; in ReadHeader()
1836 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.cc1050 uint32_t chunk = vector_length_ * unroll; in Vectorize() local
1052 DCHECK(trip_count == 0 || (trip_count >= MaxNumberPeeled() + chunk)); in Vectorize()
1057 (trip_count == 0 || ((trip_count - vector_static_peeling_factor_) % chunk) != 0); in Vectorize()
1113 DCHECK(IsPowerOfTwo(chunk)); in Vectorize()
1125 graph_->GetConstant(induc_type, chunk - 1))); in Vectorize()