Home
last modified time | relevance | path

Searched refs:NODE_BLOCK_SIZE (Results 1 - 4 of 4) sorted by relevance

/arkcompiler/runtime_core/static_core/runtime/
H A Dhandle_storage-inl.h39 auto n = allocator_->New<std::array<T, NODE_BLOCK_SIZE>>(); in NewHandle()
77 for (uint32_t j = offset; j < NODE_BLOCK_SIZE; ++j) { in ZapFreedHandles()
94 uint32_t count = (i != nid) ? NODE_BLOCK_SIZE : offset; in UpdateHeapObject()
114 offset = NODE_BLOCK_SIZE; in VisitGCRoots()
118 uint32_t count = (i != nid) ? NODE_BLOCK_SIZE : offset; in VisitGCRoots()
138 offset = NODE_BLOCK_SIZE; in UpdateHeapObject()
142 uint32_t count = (i != nid) ? NODE_BLOCK_SIZE : offset; in UpdateHeapObject()
162 uint32_t count = (i != nid) ? NODE_BLOCK_SIZE : offset; in VisitGCRoots()
H A Dhandle_storage.h56 static const uint32_t NODE_BLOCK_SIZE = 1U << NODE_BLOCK_SIZE_LOG2; member in ark::HandleStorage
57 static const uint32_t NODE_BLOCK_SIZE_MASK = NODE_BLOCK_SIZE - 1;
74 PandaVector<std::array<T, NODE_BLOCK_SIZE> *> nodes_;
/arkcompiler/ets_runtime/ecmascript/
H A Decma_context.cpp966 auto end = (i != nid) ? &(node->data()[NODE_BLOCK_SIZE]) : handleScopeStorageNext_; in Iterate()
995 auto end = (i != nid) ? &(node->data()[NODE_BLOCK_SIZE]) : handleScopeStorageNext_; in IterateHandle()
1008 auto n = new std::array<JSTaggedType, NODE_BLOCK_SIZE>(); in ExpandHandleStorage()
1012 handleScopeStorageEnd_ = &n->data()[NODE_BLOCK_SIZE]; in ExpandHandleStorage()
1017 handleScopeStorageEnd_ = &lastNode->data()[NODE_BLOCK_SIZE]; in ExpandHandleStorage()
1037 NODE_BLOCK_SIZE * sizeof(JSTaggedType), 0, in ShrinkHandleStorage()
1038 NODE_BLOCK_SIZE * sizeof(JSTaggedType)) != in ShrinkHandleStorage()
1060 auto n = new std::array<JSTaggedType, NODE_BLOCK_SIZE>(); in ExpandPrimitiveStorage()
1064 primitiveScopeStorageEnd_ = &n->data()[NODE_BLOCK_SIZE]; in ExpandPrimitiveStorage()
1069 primitiveScopeStorageEnd_ = &lastNode->data()[NODE_BLOCK_SIZE]; in ExpandPrimitiveStorage()
[all...]
H A Decma_context.h743 static const uint32_t NODE_BLOCK_SIZE = 1U << NODE_BLOCK_SIZE_LOG2; member in panda::ecmascript::EcmaContext
747 std::vector<std::array<JSTaggedType, NODE_BLOCK_SIZE> *> handleStorageNodes_ {};
758 std::vector<std::array<JSTaggedType, NODE_BLOCK_SIZE> *> primitiveStorageNodes_ {};

Completed in 5 milliseconds