Home
last modified time | relevance | path

Searched refs:pool (Results 1 – 15 of 15) sorted by relevance

/arkcompiler/runtime_core/libpandabase/tests/
Dpool_map_test.cpp46 …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/
Dmmap_mem_pool-inl.h45 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 …]
Dmmap_mem_pool.h38 …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);
Dmem_pool.h30 explicit Pool(std::pair<size_t, void *> pool) : size_(pool.first), mem_(pool.second) {} in Pool() argument
/arkcompiler/ets_frontend/test262/
Dharness.patch31 -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/
Dheap_region_allocator.cpp36 …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/
Dprebuilts_download.py120 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/
DREADME.md31 │ ├─ taskpool # Task pool
/arkcompiler/runtime_core/docs/
Dfile_format.md909 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…
D2022-08-18-isa-changelog.md35 This will help runtime to build constant pool more efficiently.
Dmemory-management.md228 …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/
Drunner.py472 pool = multiprocessing.Pool()
473 result_iter = pool.imap_unordered(
475 pool.close()
486 pool.join()
/arkcompiler/ets_runtime/ecmascript/
Ddump.cpp482 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/
Dcocos_worker_test.js24396 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/
Dlog_loop.txt1 [gc] Ark Auto adapter memory pool capacity:4185873408