v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <utility>
#include "v8.h"
#include "global-handles.h"
#include "snapshot.h"
#include "cctest.h"
Go to the source code of this file.
Functions | |
TEST (WeakSet_Weakness) | |
TEST (WeakSet_Shrinking) | |
TEST (WeakSet_Regress2060a) | |
TEST (WeakSet_Regress2060b) | |
TEST | ( | WeakSet_Weakness | ) |
Definition at line 80 of file test-weaksets.cc.
References JSObject::cast(), ObjectHashTable::cast(), CHECK, CHECK_EQ, Heap::CollectAllGarbage(), GlobalHandles::Create(), Isolate::factory(), Smi::FromInt(), Isolate::global_handles(), Isolate::heap(), GlobalHandles::IsWeak(), v8::internal::JS_OBJECT_TYPE, JSObject::kHeaderSize, GlobalHandles::MakeWeak(), Factory::NewJSObjectFromMap(), and Factory::NewMap().
TEST | ( | WeakSet_Shrinking | ) |
Definition at line 142 of file test-weaksets.cc.
References ObjectHashTable::cast(), CHECK_EQ, Heap::CollectAllGarbage(), Isolate::factory(), Smi::FromInt(), Isolate::heap(), v8::internal::JS_OBJECT_TYPE, JSObject::kHeaderSize, Factory::NewJSObjectFromMap(), and Factory::NewMap().
TEST | ( | WeakSet_Regress2060a | ) |
Definition at line 182 of file test-weaksets.cc.
References PagedSpace::anchor(), CHECK, Heap::CollectAllGarbage(), MemoryChunk::Contains(), Isolate::factory(), Isolate::heap(), Heap::InNewSpace(), v8::internal::KB, Heap::kNoGCFlags, v8::internal::kPointerSize, Factory::NewFixedArray(), Factory::NewFunction(), Factory::NewJSObject(), Page::next_page(), Heap::old_pointer_space(), and v8::internal::TENURED.
TEST | ( | WeakSet_Regress2060b | ) |
Definition at line 217 of file test-weaksets.cc.
References PagedSpace::anchor(), CHECK, Heap::CollectAllGarbage(), MemoryChunk::Contains(), Isolate::factory(), Smi::FromInt(), Isolate::heap(), Heap::InNewSpace(), v8::internal::KB, v8::internal::keys(), Heap::kNoGCFlags, v8::internal::kPointerSize, Factory::NewFixedArray(), Factory::NewFunction(), Factory::NewJSObject(), Page::next_page(), Heap::old_pointer_space(), and v8::internal::TENURED.