Lines Matching defs:object
1227 << " global object size " << GetHeapObjectSize()
1253 // OOMError object is not allowed to be allocated during gc process, so throw OOMError after gc
1265 // Update record heap object size after gc if in sensitive status
1587 bool Heap::ShouldMoveToRoSpace(JSHClass *hclass, TaggedObject *object)
1589 return hclass->IsString() && !Region::ObjectAddressToRange(object)->InHugeObjectSpace();
1645 OPTIONAL_LOG(ecmaVm_, INFO) << " Old space heap object size is too much lower than committed size"
1785 // clear native object duration
1855 // The object allocated in incremental marking should lower than limit,
2072 void Heap::IncreaseNativeBindingSize(JSNativePointer *object)
2074 size_t size = object->GetBindingSize();
2315 // On high sensitive scene, heap object size can reach to MaxHeapSize - 8M temporarily, 8M is reserved for
2474 bool BaseHeap::IsAlive(TaggedObject *object) const
2476 if (!ContainObject(object)) {
2481 bool isFree = object->GetClass() != nullptr && FreeObject::Cast(ToUintPtr(object))->IsFreeObject();
2483 Region *region = Region::ObjectAddressToRange(object);
2484 LOG_GC(ERROR) << "The object " << object << " in "
2491 bool BaseHeap::ContainObject(TaggedObject *object) const
2494 * fixme: There's no absolutely safe appraoch to doing this, given that the region object is currently
2495 * allocated and maintained in the JS object heap. We cannot safely tell whether a region object
2496 * calculated from an object address is still valid or alive in a cheap way.
2497 * This will introduce inaccurate result to verify if an object is contained in the heap, and it may
2502 Region *region = Region::ObjectAddressToRange(object);
2544 nonMovableSpace_->IterateOverObjects([&typeCount] (TaggedObject *object) {
2545 typeCount[static_cast<int>(object->GetClass()->GetObjectType())]++;
2555 oldSpace_->IterateOverObjects([&typeCount] (TaggedObject *object) {
2556 typeCount[static_cast<int>(object->GetClass()->GetObjectType())]++;
2566 activeSemiSpace_->IterateOverObjects([&typeCount] (TaggedObject *object) {
2567 typeCount[static_cast<int>(object->GetClass()->GetObjectType())]++;