v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
test-lockers.cc File Reference
#include <limits.h>
#include "v8.h"
#include "api.h"
#include "isolate.h"
#include "compilation-cache.h"
#include "execution.h"
#include "snapshot.h"
#include "platform.h"
#include "utils.h"
#include "cctest.h"
#include "parser.h"
#include "unicode-inl.h"
Include dependency graph for test-lockers.cc:

Go to the source code of this file.

Data Structures

class  KangarooThread
 
class  JoinableThread
 
class  IsolateLockingThreadWithLocalContext
 
class  IsolateNonlockingThread
 
class  IsolateNestedLockingThread
 
class  SeparateIsolatesLocksNonexclusiveThread
 
class  LockIsolateAndCalculateFibSharedContextThread
 
class  LockerUnlockerThread
 
class  LockTwiceAndUnlockThread
 
class  LockAndUnlockDifferentIsolatesThread
 
class  LockUnlockLockThread
 
class  LockUnlockLockDefaultIsolateThread
 
class  IsolateGenesisThread
 

Functions

 TEST (KangarooIsolates)
 
 TEST (IsolateLockingStress)
 
 TEST (MultithreadedParallelIsolates)
 
 TEST (IsolateNestedLocking)
 
 TEST (SeparateIsolatesLocksNonexclusive)
 
 TEST (LockerUnlocker)
 
 TEST (LockTwiceAndUnlock)
 
 TEST (LockAndUnlockDifferentIsolates)
 
 TEST (LockUnlockLockMultithreaded)
 
 TEST (LockUnlockLockDefaultIsolateMultithreaded)
 
 TEST (Regress1433)
 
 TEST (ExtensionsRegistration)
 

Function Documentation

TEST ( KangarooIsolates  )

Definition at line 97 of file test-lockers.cc.

References CHECK_EQ, Thread::Join(), Isolate::New(), Context::New(), and Thread::Start().

TEST ( IsolateLockingStress  )

Definition at line 206 of file test-lockers.cc.

References List< T, P >::Add(), Isolate::Dispose(), and Isolate::New().

TEST ( MultithreadedParallelIsolates  )

Definition at line 243 of file test-lockers.cc.

References List< T, P >::Add().

TEST ( IsolateNestedLocking  )

Definition at line 281 of file test-lockers.cc.

References List< T, P >::Add(), and Isolate::New().

TEST ( SeparateIsolatesLocksNonexclusive  )

Definition at line 321 of file test-lockers.cc.

References List< T, P >::Add(), Isolate::Dispose(), and Isolate::New().

TEST ( LockerUnlocker  )

Definition at line 395 of file test-lockers.cc.

References List< T, P >::Add(), Isolate::Dispose(), and Isolate::New().

TEST ( LockTwiceAndUnlock  )

Definition at line 448 of file test-lockers.cc.

References List< T, P >::Add(), Isolate::Dispose(), and Isolate::New().

TEST ( LockAndUnlockDifferentIsolates  )
TEST ( LockUnlockLockMultithreaded  )

Definition at line 569 of file test-lockers.cc.

References List< T, P >::Add(), Isolate::New(), and Context::New().

TEST ( LockUnlockLockDefaultIsolateMultithreaded  )

Definition at line 620 of file test-lockers.cc.

References List< T, P >::Add(), and Context::New().

TEST ( ExtensionsRegistration  )

Definition at line 692 of file test-lockers.cc.

References List< T, P >::Add(), and v8::RegisterExtension().