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 (Weakness) | |
TEST (Shrinking) | |
TEST (Regress2060a) | |
TEST (Regress2060b) | |
TEST | ( | Weakness | ) |
Definition at line 80 of file test-weakmaps.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 | ( | Shrinking | ) |
Definition at line 142 of file test-weakmaps.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 | ( | Regress2060a | ) |
Definition at line 182 of file test-weakmaps.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 | ( | Regress2060b | ) |
Definition at line 217 of file test-weakmaps.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.