v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <global-handles.h>
Public Types | |
enum | SingletonHandle { I18N_TEMPLATE_ONE, I18N_TEMPLATE_TWO, DATE_CACHE_VERSION, NUMBER_OF_SINGLETON_HANDLES } |
Public Member Functions | |
EternalHandles () | |
~EternalHandles () | |
int | NumberOfHandles () |
void | Create (Isolate *isolate, Object *object, int *index) |
Handle< Object > | Get (int index) |
Handle< Object > | GetSingleton (SingletonHandle singleton) |
bool | Exists (SingletonHandle singleton) |
Handle< Object > | CreateSingleton (Isolate *isolate, Object *object, SingletonHandle singleton) |
void | IterateAllRoots (ObjectVisitor *visitor) |
void | IterateNewSpaceRoots (ObjectVisitor *visitor) |
void | PostGarbageCollectionProcessing (Heap *heap) |
Definition at line 338 of file global-handles.h.
enum SingletonHandle |
Enumerator | |
---|---|
I18N_TEMPLATE_ONE | |
I18N_TEMPLATE_TWO | |
DATE_CACHE_VERSION | |
NUMBER_OF_SINGLETON_HANDLES |
Definition at line 340 of file global-handles.h.
EternalHandles | ( | ) |
Definition at line 1031 of file global-handles.cc.
References ARRAY_SIZE.
~EternalHandles | ( | ) |
Definition at line 1038 of file global-handles.cc.
Definition at line 1073 of file global-handles.cc.
References List< T, P >::Add(), ASSERT_EQ, ASSERT_NE, Isolate::heap(), Heap::InNewSpace(), v8::internal::MemsetPointer(), and v8::internal::NULL.
Referenced by EternalHandles::CreateSingleton(), and TEST().
|
inline |
Definition at line 373 of file global-handles.h.
References EternalHandles::Create(), and EternalHandles::Get().
|
inline |
Definition at line 368 of file global-handles.h.
Referenced by Date::DateTimeConfigurationChangeNotification(), and EternalHandles::GetSingleton().
Definition at line 357 of file global-handles.h.
Referenced by EternalHandles::CreateSingleton(), EternalHandles::GetSingleton(), and TEST().
|
inline |
Definition at line 362 of file global-handles.h.
References ASSERT, EternalHandles::Exists(), and EternalHandles::Get().
Referenced by Date::DateTimeConfigurationChangeNotification().
void IterateAllRoots | ( | ObjectVisitor * | visitor | ) |
Definition at line 1043 of file global-handles.cc.
References ASSERT, and v8::internal::Min().
Referenced by Heap::IterateStrongRoots().
void IterateNewSpaceRoots | ( | ObjectVisitor * | visitor | ) |
Definition at line 1054 of file global-handles.cc.
Referenced by Heap::IterateStrongRoots().
|
inline |
Definition at line 351 of file global-handles.h.
Referenced by StartupSerializer::SerializeStrongReferences(), and TEST().
void PostGarbageCollectionProcessing | ( | Heap * | heap | ) |
Definition at line 1061 of file global-handles.cc.
References Heap::InNewSpace().