Home
last modified time | relevance | path

Searched refs:GLOBAL_BLOCK_SIZE (Results 1 - 3 of 3) sorted by relevance

/arkcompiler/runtime_core/static_core/runtime/
H A Dglobal_handle_storage.h33 static const int32_t GLOBAL_BLOCK_SIZE = 256; member in ark::GlobalHandleStorage
38 globalNodes_ = allocator_->New<PandaVector<std::array<Node, GLOBAL_BLOCK_SIZE> *>>(allocator_->Adapter()); in GlobalHandleStorage()
83 inline PandaVector<std::array<Node, GLOBAL_BLOCK_SIZE> *> *GetNodes() const in GetNodes()
103 inline void DealUpdateObject([[maybe_unused]] std::array<Node, GLOBAL_BLOCK_SIZE> *block, in DealUpdateObject()
108 inline void DealVisitGCRoots([[maybe_unused]] std::array<Node, GLOBAL_BLOCK_SIZE> *block, in DealVisitGCRoots()
120 PandaVector<std::array<Node, GLOBAL_BLOCK_SIZE> *> *globalNodes_ {nullptr};
122 int32_t count_ {GLOBAL_BLOCK_SIZE};
H A Dglobal_handle_storage-inl.h43 if (count_ == GLOBAL_BLOCK_SIZE && freeList_ == nullptr) { in NewGlobalHandle()
45 auto block = allocator_->New<std::array<Node, GLOBAL_BLOCK_SIZE>>(); in NewGlobalHandle()
47 count_ = count_ - GLOBAL_BLOCK_SIZE; in NewGlobalHandle()
51 if (count_ != GLOBAL_BLOCK_SIZE) { in NewGlobalHandle()
89 inline void GlobalHandleStorage<coretypes::TaggedType>::DealUpdateObject(std::array<Node, GLOBAL_BLOCK_SIZE> *block, in DealUpdateObject()
108 for (size_t j = 0; j < GLOBAL_BLOCK_SIZE; j++) { in UpdateHeapObject()
120 inline void GlobalHandleStorage<coretypes::TaggedType>::DealVisitGCRoots(std::array<Node, GLOBAL_BLOCK_SIZE> *block, in DealVisitGCRoots()
138 for (size_t j = 0; j < GLOBAL_BLOCK_SIZE; j++) { in VisitGCRoots()
/arkcompiler/ets_runtime/ecmascript/
H A Decma_global_storage.h229 for (uint32_t i = 0; i < GLOBAL_BLOCK_SIZE; i++) { in NodeList()
318 return index_ >= GLOBAL_BLOCK_SIZE; in IsFull()
381 static const uint32_t GLOBAL_BLOCK_SIZE = 256; member in panda::ecmascript::NodeList
382 T nodeList_[GLOBAL_BLOCK_SIZE]; // all

Completed in 3 milliseconds