v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
test-heap.cc File Reference
#include <stdlib.h>
#include <utility>
#include "v8.h"
#include "compilation-cache.h"
#include "execution.h"
#include "factory.h"
#include "macro-assembler.h"
#include "global-handles.h"
#include "stub-cache.h"
#include "cctest.h"
Include dependency graph for test-heap.cc:

Go to the source code of this file.

Data Structures

class  SourceResource
 
class  DummyVisitor
 

Macros

#define __   assm.
 

Functions

 TEST (HeapMaps)
 
 TEST (HandleNull)
 
 TEST (HeapObjects)
 
 TEST (Tagging)
 
 TEST (GarbageCollection)
 
 TEST (String)
 
 TEST (LocalHandles)
 
 TEST (GlobalHandles)
 
 TEST (WeakGlobalHandlesScavenge)
 
 TEST (WeakGlobalHandlesMark)
 
 TEST (DeleteWeakGlobalHandle)
 
 TEST (StringTable)
 
 TEST (FunctionAllocation)
 
 TEST (ObjectProperties)
 
 TEST (JSObjectMaps)
 
 TEST (JSArray)
 
 TEST (JSObjectCopy)
 
 TEST (StringAllocation)
 
 TEST (Iteration)
 
 TEST (EmptyHandleEscapeFrom)
 
 TEST (Regression39128)
 
 TEST (TestCodeFlushing)
 
 TEST (TestCodeFlushingPreAged)
 
 TEST (TestCodeFlushingIncremental)
 
 TEST (TestCodeFlushingIncrementalScavenge)
 
 TEST (TestCodeFlushingIncrementalAbort)
 
int CountNativeContexts ()
 
 TEST (TestInternalWeakLists)
 
 TEST (TestInternalWeakListsTraverseWithGC)
 
 TEST (TestSizeOfObjects)
 
 TEST (TestSizeOfObjectsVsHeapIteratorPrecision)
 
 TEST (GrowAndShrinkNewSpace)
 
 TEST (CollectingAllAvailableGarbageShrinksNewSpace)
 
 TEST (LeakNativeContextViaMap)
 
 TEST (LeakNativeContextViaFunction)
 
 TEST (LeakNativeContextViaMapKeyed)
 
 TEST (LeakNativeContextViaMapProto)
 
 TEST (InstanceOfStubWriteBarrier)
 
 TEST (PrototypeTransitionClearing)
 
 TEST (ResetSharedFunctionInfoCountersDuringIncrementalMarking)
 
 TEST (ResetSharedFunctionInfoCountersDuringMarkSweep)
 
 TEST (OptimizedAllocationAlwaysInNewSpace)
 
 TEST (OptimizedPretenuringAllocationFolding)
 
 TEST (OptimizedPretenuringAllocationFoldingBlocks)
 
 TEST (OptimizedPretenuringObjectArrayLiterals)
 
 TEST (OptimizedPretenuringMixedInObjectProperties)
 
 TEST (OptimizedPretenuringDoubleArrayProperties)
 
 TEST (OptimizedPretenuringdoubleArrayLiterals)
 
 TEST (OptimizedPretenuringNestedMixedArrayLiterals)
 
 TEST (OptimizedPretenuringNestedObjectLiterals)
 
 TEST (OptimizedPretenuringNestedDoubleLiterals)
 
 TEST (OptimizedPretenuringConstructorCalls)
 
 TEST (OptimizedAllocationArrayLiterals)
 
 TEST (OptimizedPretenuringCallNew)
 
 TEST (Regress1465)
 
 TEST (Regress2143a)
 
 TEST (Regress2143b)
 
 TEST (ReleaseOverReservedPages)
 
 TEST (Regress2237)
 
 TEST (Regress2211)
 
 TEST (IncrementalMarkingClearsTypeFeedbackInfo)
 
 TEST (IncrementalMarkingPreservesMonomorphicIC)
 
 TEST (IncrementalMarkingClearsMonomorphicIC)
 
 TEST (IncrementalMarkingClearsPolymorphicIC)
 
void ReleaseStackTraceDataTest (const char *source, const char *accessor)
 
 TEST (ReleaseStackTraceData)
 
 TEST (Regress159140)
 
 TEST (Regress165495)
 
 TEST (Regress169209)
 
 TEST (Regress169928)
 
 TEST (Regress168801)
 
 TEST (Regress173458)
 
 TEST (DeferredHandles)
 
 TEST (IncrementalMarkingStepMakesBigProgressWithLargeObjects)
 
 TEST (DisableInlineAllocation)
 
 TEST (EnsureAllocationSiteDependentCodesProcessed)
 
 TEST (CellsInOptimizedCodeAreWeak)
 
 TEST (ObjectsInOptimizedCodeAreWeak)
 
 TEST (NextCodeLinkIsWeak)
 
 TEST (NextCodeLinkIsWeak2)
 

Macro Definition Documentation

#define __   assm.

Function Documentation

int CountNativeContexts ( )
void ReleaseStackTraceDataTest ( const char *  source,
const char *  accessor 
)
TEST ( HandleNull  )
TEST ( String  )

Definition at line 339 of file test-heap.cc.

References CcTest::InitializeVM(), and CcTest::isolate().

TEST ( StringTable  )

Definition at line 622 of file test-heap.cc.

References CcTest::InitializeVM().

TEST ( EmptyHandleEscapeFrom  )
TEST ( TestSizeOfObjectsVsHeapIteratorPrecision  )
TEST ( OptimizedAllocationAlwaysInNewSpace  )
TEST ( OptimizedPretenuringAllocationFolding  )
TEST ( OptimizedPretenuringAllocationFoldingBlocks  )
TEST ( OptimizedPretenuringObjectArrayLiterals  )
TEST ( OptimizedPretenuringMixedInObjectProperties  )
TEST ( OptimizedPretenuringDoubleArrayProperties  )
TEST ( OptimizedPretenuringdoubleArrayLiterals  )
TEST ( OptimizedPretenuringNestedMixedArrayLiterals  )
TEST ( OptimizedPretenuringNestedObjectLiterals  )
TEST ( OptimizedPretenuringNestedDoubleLiterals  )
TEST ( OptimizedPretenuringConstructorCalls  )
TEST ( OptimizedAllocationArrayLiterals  )
TEST ( ReleaseStackTraceData  )

Definition at line 3095 of file test-heap.cc.

References CcTest::InitializeVM(), and ReleaseStackTraceDataTest().