V8 Project
|
#include <spaces.h>
Public Member Functions | |
AllocationResult (Object *object) | |
AllocationResult () | |
bool | IsRetry () |
template<typename T > | |
bool | To (T **obj) |
Object * | ToObjectChecked () |
AllocationSpace | RetrySpace () |
Static Public Member Functions | |
static AllocationResult | Retry (AllocationSpace space=NEW_SPACE) |
Private Member Functions | |
AllocationResult (AllocationSpace space) | |
Private Attributes | |
Object * | object_ |
AllocationSpace | retry_space_ |
|
inline |
|
inline |
Definition at line 1614 of file spaces.h.
Referenced by Retry().
|
inlineexplicitprivate |
Definition at line 1640 of file spaces.h.
|
inline |
Definition at line 1620 of file spaces.h.
References v8::internal::INVALID_SPACE, and retry_space_.
Referenced by v8::internal::Heap::AllocateRaw(), v8::internal::MarkCompactCollector::DiscoverAndEvacuateBlackObjectsOnPage(), RetrySpace(), To(), and ToObjectChecked().
|
inlinestatic |
Definition at line 1616 of file spaces.h.
References AllocationResult(), and space().
Referenced by v8::internal::LargeObjectSpace::AllocateRaw(), v8::internal::PagedSpace::AllocateRaw(), v8::internal::Heap::AllocateRaw(), and v8::internal::NewSpace::SlowAllocateRaw().
|
inline |
Definition at line 1634 of file spaces.h.
References DCHECK, IsRetry(), and retry_space_.
Definition at line 1623 of file spaces.h.
References IsRetry(), and object_.
Referenced by v8::internal::Heap::Allocate(), v8::internal::Heap::AllocateByteArray(), v8::internal::Heap::AllocateCell(), v8::internal::Heap::AllocateCode(), v8::internal::Heap::AllocateConstantPoolArray(), v8::internal::Heap::AllocateEmptyConstantPoolArray(), v8::internal::Heap::AllocateEmptyFixedArray(), v8::internal::Heap::AllocateExtendedConstantPoolArray(), v8::internal::Heap::AllocateExternalArray(), v8::internal::Heap::AllocateFillerObject(), v8::internal::Heap::AllocateFixedArrayWithFiller(), v8::internal::Heap::AllocateFixedTypedArray(), v8::internal::Heap::AllocateForeign(), v8::internal::Heap::AllocateHeapNumber(), v8::internal::Heap::AllocateInternalizedStringImpl(), v8::internal::Heap::AllocateJSObject(), v8::internal::Heap::AllocateJSObjectFromMap(), v8::internal::Heap::AllocateMap(), v8::internal::Heap::AllocateOneByteInternalizedString(), v8::internal::Heap::AllocatePartialMap(), v8::internal::Heap::AllocatePropertyCell(), v8::internal::Heap::AllocateRaw(), v8::internal::Heap::AllocateRawFixedDoubleArray(), v8::internal::Heap::AllocateRawOneByteString(), v8::internal::Heap::AllocateRawTwoByteString(), v8::internal::Heap::AllocateStruct(), v8::internal::Heap::AllocateSymbol(), v8::internal::Heap::AllocateTwoByteInternalizedString(), v8::internal::Heap::AllocateUninitializedFixedArray(), v8::internal::Heap::AllocateUninitializedFixedDoubleArray(), v8::internal::Heap::CopyAndTenureFixedCOWArray(), v8::internal::Heap::CopyCode(), v8::internal::Heap::CopyConstantPoolArrayWithMap(), v8::internal::Heap::CopyFixedArrayWithMap(), v8::internal::Heap::CopyFixedDoubleArrayWithMap(), v8::internal::Heap::CopyJSObject(), v8::internal::Heap::CreateInitialMaps(), v8::internal::MarkCompactCollector::EvacuateLiveObjectsFromPage(), v8::internal::ScavengingVisitor< marks_handling, logging_and_profiling_mode >::PromoteObject(), v8::internal::Heap::ReserveSpace(), v8::internal::ScavengingVisitor< marks_handling, logging_and_profiling_mode >::SemiSpaceCopyObject(), and v8::internal::MarkCompactCollector::TryPromoteObject().
|
inline |
Definition at line 1629 of file spaces.h.
References CHECK, IsRetry(), and object_.
Referenced by v8::internal::Deserializer::Allocate(), and v8::internal::MarkCompactCollector::DiscoverAndEvacuateBlackObjectsOnPage().
|
private |
Definition at line 1643 of file spaces.h.
Referenced by To(), and ToObjectChecked().
|
private |
Definition at line 1644 of file spaces.h.
Referenced by IsRetry(), and RetrySpace().