v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <cmath>
#include "heap.h"
#include "heap-profiler.h"
#include "isolate.h"
#include "list-inl.h"
#include "objects.h"
#include "platform.h"
#include "v8-counters.h"
#include "store-buffer.h"
#include "store-buffer-inl.h"
Go to the source code of this file.
Namespaces | |
v8 | |
v8::internal | |
Macros | |
#define | GC_GREEDY_CHECK(ISOLATE) { } |
#define | CALL_AND_RETRY(ISOLATE, FUNCTION_CALL, RETURN_VALUE, RETURN_EMPTY) |
#define | CALL_AND_RETRY_OR_DIE(ISOLATE, FUNCTION_CALL, RETURN_VALUE, RETURN_EMPTY) |
#define | CALL_HEAP_FUNCTION(ISOLATE, FUNCTION_CALL, TYPE) |
#define | CALL_HEAP_FUNCTION_VOID(ISOLATE, FUNCTION_CALL) CALL_AND_RETRY_OR_DIE(ISOLATE, FUNCTION_CALL, return, return) |
#define | CALL_HEAP_FUNCTION_PASS_EXCEPTION(ISOLATE, FUNCTION_CALL) |
#define CALL_AND_RETRY | ( | ISOLATE, | |
FUNCTION_CALL, | |||
RETURN_VALUE, | |||
RETURN_EMPTY | |||
) |
Definition at line 644 of file heap-inl.h.
#define CALL_AND_RETRY_OR_DIE | ( | ISOLATE, | |
FUNCTION_CALL, | |||
RETURN_VALUE, | |||
RETURN_EMPTY | |||
) |
Definition at line 671 of file heap-inl.h.
Referenced by Map::PutPrototypeTransition(), JSObject::SetPropertyWithCallback(), and JSObjectWalkVisitor< ContextObject >::StructureWalk().
#define CALL_HEAP_FUNCTION | ( | ISOLATE, | |
FUNCTION_CALL, | |||
TYPE | |||
) |
Definition at line 679 of file heap-inl.h.
Referenced by v8::internal::AddKeysFromJSArray(), SeededNumberDictionary::AddNumberEntry(), Map::AddTransition(), Map::AsElementsKind(), Factory::BaseNewFunctionFromSharedFunctionInfo(), v8::internal::CacheInitialJSArrayMaps(), JSObject::Copy(), Map::Copy(), Factory::CopyAndTenureFixedCOWArray(), Factory::CopyCode(), Factory::CopyConstantPoolArray(), Map::CopyDropDescriptors(), Factory::CopyFixedArray(), Factory::CopyFixedDoubleArray(), Factory::CopyMap(), Map::CopyReplaceDescriptors(), Factory::CopySizeFixedArray(), DescriptorArray::CopyUpToAddAttributes(), Factory::CopyWithPreallocatedFieldDescriptors(), DictionaryElementsAccessor::DeleteCommon(), v8::internal::DeleteProperty(), Factory::DictionaryAtNumberPut(), ObjectHashSet::EnsureCapacity(), ObjectHashTable::EnsureCapacity(), JSObject::EnsureWritableFastElements(), v8::internal::FlattenGetString(), v8::internal::ForceDeleteProperty(), Accessors::FunctionGetArguments(), Accessors::FunctionGetPrototype(), Accessors::FunctionSetPrototype(), ElementsAccessorBase< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >::Get(), JSObject::GetElementsTransitionMap(), Object::GetElementWithReceiver(), v8::internal::GetProperty(), Object::GetProperty(), JSObject::GetPropertyWithCallback(), v8::internal::HasProperty(), Factory::InternalizeString(), Factory::InternalizeStringWithKey(), v8::internal::LookupSingleCharacterStringFromCode(), DescriptorArray::Merge(), v8::internal::NameDictionaryShrink(), Factory::NewAccessorPair(), Factory::NewAllocationSite(), Factory::NewArgumentsObject(), Factory::NewBlockContext(), Factory::NewBox(), Factory::NewByteArray(), Factory::NewCatchContext(), Factory::NewCell(), Factory::NewCode(), Factory::NewConstantPoolArray(), Factory::NewDeoptimizationInputData(), Factory::NewDeoptimizationOutputData(), Factory::NewDescriptorArray(), Factory::NewExternal(), Factory::NewExternalArray(), Factory::NewExternalStringFromAscii(), Factory::NewExternalStringFromTwoByte(), Factory::NewFixedArray(), Factory::NewFixedArrayWithHoles(), Factory::NewFixedDoubleArray(), Factory::NewFixedTypedArray(), Factory::NewForeign(), Factory::NewFunctionContext(), Factory::NewGlobalContext(), Factory::NewHeapNumber(), Factory::NewJSArray(), Factory::NewJSArrayBuffer(), Factory::NewJSArrayWithElements(), Factory::NewJSDataView(), Factory::NewJSGeneratorObject(), Factory::NewJSMessageObject(), Factory::NewJSModule(), Factory::NewJSObject(), Factory::NewJSObjectFromMap(), Factory::NewJSObjectWithMemento(), Factory::NewJSProxy(), Factory::NewJSTypedArray(), Factory::NewMap(), Factory::NewModuleContext(), Factory::NewNameDictionary(), Factory::NewNativeContext(), Factory::NewNeanderObject(), Factory::NewNumber(), Factory::NewNumberFromInt(), Factory::NewNumberFromUint(), Factory::NewObjectHashSet(), Factory::NewObjectHashTable(), Factory::NewPrivateSymbol(), Factory::NewPropertyCellWithHole(), Factory::NewRawConsString(), Factory::NewRawOneByteString(), Factory::NewRawSlicedString(), Factory::NewRawTwoByteString(), Factory::NewScopeInfo(), Factory::NewSeededNumberDictionary(), Factory::NewSharedFunctionInfo(), Factory::NewStringFromOneByte(), Factory::NewStringFromTwoByte(), Factory::NewStringFromUtf8(), Factory::NewStruct(), Factory::NewSymbol(), Factory::NewTypeFeedbackInfo(), Factory::NewUninitializedFixedArray(), Factory::NewUnseededNumberDictionary(), Factory::NewWeakHashTable(), Factory::NewWithContext(), Factory::NumberToString(), JSObject::PrepareSlowElementsForSort(), Map::RawCopy(), v8::internal::ReinitializeJSGlobalProxy(), SeededNumberDictionary::Set(), UnseededNumberDictionary::Set(), DictionaryElementsAccessor::SetLengthWithoutNormalize(), ExternalInt8Array::SetValue(), ExternalUint8Array::SetValue(), ExternalInt16Array::SetValue(), ExternalUint16Array::SetValue(), ExternalInt32Array::SetValue(), ExternalUint32Array::SetValue(), ExternalFloat32Array::SetValue(), ExternalFloat64Array::SetValue(), FixedTypedArray< Traits >::SetValue(), ObjectHashSet::Shrink(), ObjectHashTable::Shrink(), Factory::ToObject(), Factory::Uint32ToString(), and v8::internal::UnionOfKeys().
#define CALL_HEAP_FUNCTION_PASS_EXCEPTION | ( | ISOLATE, | |
FUNCTION_CALL | |||
) |
Definition at line 690 of file heap-inl.h.
Referenced by Runtime::GetObjectPropertyOrFail(), and Object::GetPropertyOrFail().
#define CALL_HEAP_FUNCTION_VOID | ( | ISOLATE, | |
FUNCTION_CALL | |||
) | CALL_AND_RETRY_OR_DIE(ISOLATE, FUNCTION_CALL, return, return) |
Definition at line 686 of file heap-inl.h.
Referenced by SharedFunctionInfo::AddToOptimizedCodeMap(), v8::internal::AddWeakObjectToCodeDependency(), Factory::BecomeJSFunction(), Factory::BecomeJSObject(), NameDictionary::DoGenerateNewEnumerationIndices(), v8::internal::FlattenString(), JSArray::JSArrayUpdateLengthFromIndex(), Factory::NewJSArrayStorage(), JSObject::TransformToFastProperties(), PolymorphicCodeCache::Update(), and Map::UpdateCodeCache().
#define GC_GREEDY_CHECK | ( | ISOLATE | ) | { } |
Definition at line 634 of file heap-inl.h.