Home
last modified time | relevance | path

Searched refs:CustomSpace (Results 1 - 7 of 7) sorted by relevance

/third_party/node/deps/v8/include/cppgc/
H A Dallocation.h72 template <typename GCInfoType, typename CustomSpace, size_t alignment>
75 static_assert(std::is_base_of<CustomSpaceBase, CustomSpace>::value, in Invoke()
78 !CustomSpace::kSupportsCompaction, in Invoke()
83 internal::GCInfoTrait<GCInfoType>::Index(), CustomSpace::kSpaceIndex); in Invoke()
110 template <typename GCInfoType, typename CustomSpace>
111 struct AllocationDispatcher<GCInfoType, CustomSpace,
115 static_assert(std::is_base_of<CustomSpaceBase, CustomSpace>::value, in Invoke()
119 CustomSpace::kSpaceIndex); in Invoke()
H A Dcustom-space.h21 * Top-level base class for custom spaces. Users must inherit from CustomSpace
33 * from `CustomSpace` must define `kSpaceIndex` as unique space index. These
38 * class CustomSpace1 : public CustomSpace<CustomSpace1> {
42 * class CustomSpace2 : public CustomSpace<CustomSpace2> {
49 class CustomSpace : public CustomSpaceBase { class
75 template <typename CustomSpace>
77 static constexpr bool value = CustomSpace::kSupportsCompaction;
/third_party/node/deps/v8/include/v8-include/cppgc/
H A Dallocation.h72 template <typename GCInfoType, typename CustomSpace, size_t alignment>
75 static_assert(std::is_base_of<CustomSpaceBase, CustomSpace>::value, in Invoke()
78 !CustomSpace::kSupportsCompaction, in Invoke()
83 internal::GCInfoTrait<GCInfoType>::Index(), CustomSpace::kSpaceIndex); in Invoke()
110 template <typename GCInfoType, typename CustomSpace>
111 struct AllocationDispatcher<GCInfoType, CustomSpace,
115 static_assert(std::is_base_of<CustomSpaceBase, CustomSpace>::value, in Invoke()
119 CustomSpace::kSpaceIndex); in Invoke()
H A Dcustom-space.h21 * Top-level base class for custom spaces. Users must inherit from CustomSpace
33 * from `CustomSpace` must define `kSpaceIndex` as unique space index. These
38 * class CustomSpace1 : public CustomSpace<CustomSpace1> {
42 * class CustomSpace2 : public CustomSpace<CustomSpace2> {
49 class CustomSpace : public CustomSpaceBase { class
75 template <typename CustomSpace>
77 static constexpr bool value = CustomSpace::kSupportsCompaction;
/third_party/node/deps/v8/src/heap/cppgc/
H A Draw-heap.h33 // Users can override where objects are allocated via cppgc::CustomSpace to
78 BaseSpace* CustomSpace(CustomSpaceIndex space_index) { in CustomSpace() function in cppgc::internal::final
81 const BaseSpace* CustomSpace(CustomSpaceIndex space_index) const { in CustomSpace() function in cppgc::internal::final
82 return const_cast<RawHeap&>(*this).CustomSpace(space_index); in CustomSpace()
H A Dobject-allocator.h110 NormalPageSpace::From(*raw_heap_.CustomSpace(space_index)), in AllocateObject()
121 NormalPageSpace::From(*raw_heap_.CustomSpace(space_index)), in AllocateObject()
/third_party/node/deps/v8/src/heap/cppgc-js/
H A Dcpp-heap.cc810 raw_heap.CustomSpace(custom_space_index); in ReportCustomSpaceStatistics()

Completed in 4 milliseconds