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
StackGuard Class Reference

#include <execution.h>

Public Member Functions

void SetStackLimit (uintptr_t limit)
 
char * ArchiveStackGuard (char *to)
 
char * RestoreStackGuard (char *from)
 
void FreeThreadResources ()
 
void InitThread (const ExecutionAccess &lock)
 
void ClearThread (const ExecutionAccess &lock)
 
bool IsStackOverflow ()
 
bool IsPreempted ()
 
void Preempt ()
 
bool IsInterrupted ()
 
void Interrupt ()
 
bool IsTerminateExecution ()
 
void TerminateExecution ()
 
bool IsRuntimeProfilerTick ()
 
void RequestRuntimeProfilerTick ()
 
bool IsCodeReadyEvent ()
 
void RequestCodeReadyEvent ()
 
bool IsGCRequest ()
 
void RequestGC ()
 
void Continue (InterruptFlag after_what)
 
uintptr_t climit ()
 
uintptr_t real_climit ()
 
uintptr_t jslimit ()
 
uintptr_t real_jslimit ()
 
Address address_of_jslimit ()
 
Address address_of_real_jslimit ()
 
bool ShouldPostponeInterrupts ()
 

Static Public Member Functions

static int ArchiveSpacePerThread ()
 

Friends

class Isolate
 
class StackLimitCheck
 
class PostponeInterruptsScope
 

Detailed Description

Definition at line 172 of file execution.h.

Member Function Documentation

Address address_of_jslimit ( )
inline

Definition at line 226 of file execution.h.

Address address_of_real_jslimit ( )
inline

Definition at line 229 of file execution.h.

static int ArchiveSpacePerThread ( )
inlinestatic

Definition at line 181 of file execution.h.

char * ArchiveStackGuard ( char *  to)

Definition at line 522 of file execution.cc.

References Isolate::heap(), and Heap::SetStackLimits().

void ClearThread ( const ExecutionAccess &  lock)

Definition at line 586 of file execution.cc.

References Isolate::heap(), and Heap::SetStackLimits().

Referenced by Locker::Locker().

uintptr_t climit ( )
inline

Definition at line 214 of file execution.h.

Referenced by BASE_EMBEDDED< Visitor >::HasOverflowed().

void Continue ( InterruptFlag  after_what)
void FreeThreadResources ( )
void InitThread ( const ExecutionAccess &  lock)
void Interrupt ( )

Definition at line 397 of file execution.cc.

References v8::internal::INTERRUPT.

bool IsCodeReadyEvent ( )

Definition at line 462 of file execution.cc.

References v8::internal::CODE_READY.

Referenced by Execution::HandleStackGuardInterrupt().

bool IsGCRequest ( )

Definition at line 468 of file execution.cc.

References v8::internal::GC_REQUEST.

Referenced by Execution::HandleStackGuardInterrupt().

bool IsInterrupted ( )

Definition at line 391 of file execution.cc.

References v8::internal::INTERRUPT.

Referenced by Execution::HandleStackGuardInterrupt().

bool IsPreempted ( )

Definition at line 404 of file execution.cc.

References v8::internal::PREEMPT.

Referenced by Execution::HandleStackGuardInterrupt().

bool IsRuntimeProfilerTick ( )

Definition at line 430 of file execution.cc.

References v8::internal::RUNTIME_PROFILER_TICK.

Referenced by Execution::HandleStackGuardInterrupt().

bool IsStackOverflow ( )

Definition at line 348 of file execution.cc.

Referenced by BASE_EMBEDDED< Visitor >::HasOverflowed().

bool IsTerminateExecution ( )

Definition at line 417 of file execution.cc.

References v8::internal::TERMINATE.

Referenced by Execution::HandleStackGuardInterrupt().

uintptr_t jslimit ( )
inline

Definition at line 220 of file execution.h.

Referenced by StackGuard::SetStackLimit(), and Heap::SetStackLimits().

void Preempt ( )

Definition at line 410 of file execution.cc.

References v8::internal::PREEMPT.

uintptr_t real_climit ( )
inline

Definition at line 217 of file execution.h.

uintptr_t real_jslimit ( )
inline

Definition at line 223 of file execution.h.

Referenced by Heap::SetStackLimits().

void RequestCodeReadyEvent ( )
void RequestGC ( )
void RequestRuntimeProfilerTick ( )
char * RestoreStackGuard ( char *  from)

Definition at line 539 of file execution.cc.

References Isolate::heap(), and Heap::SetStackLimits().

Referenced by ThreadManager::RestoreThread().

void SetStackLimit ( uintptr_t  limit)
bool ShouldPostponeInterrupts ( )

Definition at line 385 of file execution.cc.

Referenced by Execution::HandleStackGuardInterrupt().

void TerminateExecution ( )

Definition at line 423 of file execution.cc.

References v8::internal::TERMINATE.

Referenced by ThreadManager::RestoreThread(), and V8::TerminateExecution().

Friends And Related Function Documentation

friend class Isolate
friend

Definition at line 303 of file execution.h.

friend class PostponeInterruptsScope
friend

Definition at line 305 of file execution.h.

friend class StackLimitCheck
friend

Definition at line 304 of file execution.h.


The documentation for this class was generated from the following files: