/arkcompiler/runtime_core/libpandabase/tests/ |
D | pool_map_test.cpp | 46 …void AddToPoolMap(Pool pool, SpaceType space_type, AllocatorType allocator_type, void *allocator_a… in AddToPoolMap() argument 49 allocator_addr = pool.GetMem(); in AddToPoolMap() 51 pools_.push_back(pool); in AddToPoolMap() 52 … pool_map_.AddPoolToMap(pool.GetMem(), pool.GetSize(), space_type, allocator_type, allocator_addr); in AddToPoolMap() 55 void RemovePoolFromMap(Pool pool) in RemovePoolFromMap() argument 57 auto items = std::remove(pools_.begin(), pools_.end(), pool); in RemovePoolFromMap() 60 pool_map_.RemovePoolFromMap(pool.GetMem(), pool.GetSize()); in RemovePoolFromMap() 93 …void CheckRandomPoolAddress(Pool pool, SpaceType space_type, AllocatorType allocator_type, uintptr… in CheckRandomPoolAddress() argument 95 void *pool_addr = RandAddrFromPool(pool); in CheckRandomPoolAddress() 102 void *RandAddrFromPool(Pool pool) const in RandAddrFromPool() [all …]
|
/arkcompiler/runtime_core/libpandabase/mem/ |
D | mmap_mem_pool-inl.h | 45 Pool pool(size, element_mem); in PopFreePool() 55 return pool; in PopFreePool() 58 inline void MmapPoolMap::PushFreePool(Pool pool) in PushFreePool() argument 60 auto mmap_pool_element = pool_map_.find(pool.GetMem()); in PushFreePool() 91 inline void MmapPoolMap::AddNewPool(Pool pool) in AddNewPool() argument 93 auto new_mmap_pool = new MmapPool(pool, free_pools_.end()); in AddNewPool() 94 pool_map_.insert(std::pair<void *, MmapPool *>(pool.GetMem(), new_mmap_pool)); in AddNewPool() 100 for (const auto &pool : free_pools_) { in GetAllSize() local 101 bytes += pool.first; in GetAllSize() 109 for (auto pool = free_pools_.rbegin(); pool != free_pools_.rend(); pool++) { in HaveEnoughFreePools() local [all …]
|
D | mmap_mem_pool.h | 38 …explicit MmapPool(Pool pool, FreePoolsIter free_pools_iter) : pool_(pool), free_pools_iter_(free_p… in MmapPool() argument 89 for (auto &pool : pool_map_) { in ~MmapPoolMap() 90 delete pool.second; in ~MmapPoolMap() 101 void PushFreePool(Pool pool); 104 void AddNewPool(Pool pool);
|
D | mem_pool.h | 30 explicit Pool(std::pair<size_t, void *> pool) : size_(pool.first), mem_(pool.second) {} in Pool() argument
|
/arkcompiler/ets_frontend/test262/ |
D | harness.patch | 31 -const pool = new AgentPool( 43 +const pool = new AgentPool( 54 const results = zip(pool, tests).pipe( 56 return pool.runTest(pair); 69 diff --git a/lib/agent-pool.js b/lib/agent-pool.js 71 --- a/lib/agent-pool.js 72 +++ b/lib/agent-pool.js
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | heap_region_allocator.cpp | 36 …auto pool = MemMapAllocator::GetInstance()->Allocate(capacity, DEFAULT_REGION_SIZE, isRegular, isM… in AllocateAlignedRegion() local 37 void *mapMem = pool.GetMem(); in AllocateAlignedRegion()
|
/arkcompiler/toolchain/build/prebuilts_download/ |
D | prebuilts_download.py | 120 with ThreadPoolExecutor(max_workers=cnt) as pool: 137 … task = pool.submit(_uncompress, args, local_file, code_dir, unzip_dir, unzip_filename, 145 … task = pool.submit(_copy_url, args, task_id, huaweicloud_url, local_file, code_dir, unzip_dir,
|
/arkcompiler/ets_runtime/ |
D | README.md | 31 │ ├─ taskpool # Task pool
|
/arkcompiler/runtime_core/docs/ |
D | file_format.md | 909 methods all constants the program refers to are moved into [the constant pool](#constant-pool). 920 | `constant_pool_size` | `uleb128` | Size of constant pool in bytes. | 921 | `constant_pool` | `uleb128[]` | [Constant pool](#constant-pool) data of length `con… 924 #### Constant pool 928 are stored in the constant pool. During interpretation of the program 929 [the state machine](#state-machine) tracks a pointer to the constant pool. 931 argument the machine reads the value from memory constant pool pointer points to and then increments 950 …y be encoded into the instruction or the instruction requires reading the value from constant pool. 952 | Opcode | Value | Instruction Format | Constant pool arguments | Descript…
|
D | 2022-08-18-isa-changelog.md | 35 This will help runtime to build constant pool more efficiently.
|
D | memory-management.md | 228 …support for pool extension and reduction(i.e., we can add another memory chunk to the allocator, a… 271 Each allocator works over some pool 314 All used memory is divided in chunks. Main allocator can extend his pool with these chunks.
|
/arkcompiler/ets_frontend/es2panda/test/ |
D | runner.py | 472 pool = multiprocessing.Pool() 473 result_iter = pool.imap_unordered( 475 pool.close() 486 pool.join()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | dump.cpp | 482 static void DumpConstantPoolClass(const ConstantPool *pool, std::ostream &os) in DumpConstantPoolClass() argument 485 uint32_t len = pool->GetCacheLength(); in DumpConstantPoolClass() 488 JSTaggedValue val(pool->GetObjectFromCache(i)); in DumpConstantPoolClass()
|
/arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
D | cocos_worker_test.js | 24396 pu.pool = new class extends $t { 24479 qu.pool = new $t((t => { 24482 qu.pool.get = function() { 24618 e = e || qu.pool.get(); 24718 const h = pu.pool.get(e, n, l, o, a); 24722 pu.pool.put(h); 24726 s && qu.pool.put(e); 28610 ty.pool = void 0; 28611 ty.pool = new $t((t => { 28615 ty.pool.get = function(t) { [all …]
|
/arkcompiler/ets_runtime/tools/circuit_viewer/examples/ |
D | log_loop.txt | 1 [gc] Ark Auto adapter memory pool capacity:4185873408
|