Searched refs:roots_ (Results 1 – 7 of 7) sorted by relevance
37 std::map<StackFrame, int>* nodes = &roots_; in Insert()125 EstimateMemoryUsage(frames_) + EstimateMemoryUsage(roots_); in EstimateTraceMemoryOverhead()
72 std::map<StackFrame, int> roots_;
123 type* Heap::name() { return type::cast(roots_[k##camel_name##RootIndex]); }128 Map* Heap::name##_map() { return Map::cast(roots_[k##Name##MapRootIndex]); }133 String* Heap::name() { return String::cast(roots_[k##name##RootIndex]); } in STRUCT_LIST()138 Symbol* Heap::name() { return Symbol::cast(roots_[k##name##RootIndex]); }143 Symbol* Heap::name() { return Symbol::cast(roots_[k##name##RootIndex]); }155 roots_[k##camel_name##RootIndex] = value; \229 DCHECK_IMPLIES(str.length() == 0, roots_[kempty_stringRootIndex] == nullptr); in AllocateOneByteInternalizedString()
1076 Object* root(RootListIndex index) { return roots_[index]; }1078 return Handle<Object>(&roots_[index]); in root_handle()1083 if (handle_location >= &roots_[kRootListLength]) return false; in IsRootHandle()1084 if (handle_location < &roots_[0]) return false; in IsRootHandle()1085 *index = static_cast<RootListIndex>(handle_location - &roots_[0]); in IsRootHandle()1090 Object** roots_array_start() { return roots_; } in roots_array_start()1094 roots_[kCodeStubsRootIndex] = value; in SetRootCodeStubs()1098 roots_[kMaterializedObjectsRootIndex] = objects; in SetRootMaterializedObjects()1102 roots_[kScriptListRootIndex] = value; in SetRootScriptList()1106 roots_[kStringTableRootIndex] = value; in SetRootStringTable()[all …]
175 memset(roots_, 0, sizeof(roots_[0]) * kRootListLength); in Heap()2355 roots_[entry.index] = map; in CreateInitialMaps()2399 roots_[entry.index] = map; in CreateInitialMaps()2701 roots_[constant_string_table[i].index] = *str; in CreateInitialObjects()2719 roots_[k##name##RootIndex] = *symbol; \ in CreateInitialObjects()2731 roots_[k##name##RootIndex] = *name; in CreateInitialObjects()2740 roots_[k##name##RootIndex] = *name; in CreateInitialObjects()2993 return Map::cast(roots_[RootIndexForFixedTypedArray(array_type)]); in MapForFixedTypedArray()3032 roots_[RootIndexForEmptyFixedTypedArray(map->elements_kind())]); in EmptyFixedTypedArrayForMap()4909 v->VisitPointer(reinterpret_cast<Object**>(&roots_[kStringTableRootIndex])); in IterateWeakRoots()[all …]
698 &isolate()->heap()->roots_[Heap::k##camel_name##RootIndex])); \706 &isolate()->heap()->roots_[Heap::k##Name##MapRootIndex])); \714 &isolate()->heap()->roots_[Heap::k##name##RootIndex])); \722 &isolate()->heap()->roots_[Heap::k##name##RootIndex])); \730 &isolate()->heap()->roots_[Heap::k##name##RootIndex])); \
2748 CHECK_EQ(static_cast<int>(OFFSET_OF(Isolate, heap_.roots_)), in Throw()