![]() |
v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#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 |
Definition at line 172 of file execution.h.
|
inline |
Definition at line 226 of file execution.h.
|
inline |
Definition at line 229 of file execution.h.
|
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().
|
inline |
Definition at line 214 of file execution.h.
Referenced by BASE_EMBEDDED< Visitor >::HasOverflowed().
| void Continue | ( | InterruptFlag | after_what | ) |
Definition at line 513 of file execution.cc.
Referenced by IncrementalMarking::Abort(), IncrementalMarking::Finalize(), and Execution::HandleStackGuardInterrupt().
| void FreeThreadResources | ( | ) |
Definition at line 547 of file execution.cc.
References Isolate::PerIsolateThreadData::set_stack_limit().
Referenced by ThreadManager::FreeThreadResources().
| void InitThread | ( | const ExecutionAccess & | lock | ) |
Definition at line 592 of file execution.cc.
References Isolate::heap(), StackGuard::SetStackLimit(), Heap::SetStackLimits(), and Isolate::PerIsolateThreadData::stack_limit().
Referenced by Locker::Locker(), and ThreadManager::RestoreThread().
| 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().
|
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.
|
inline |
Definition at line 217 of file execution.h.
|
inline |
Definition at line 223 of file execution.h.
Referenced by Heap::SetStackLimits().
| void RequestCodeReadyEvent | ( | ) |
Definition at line 449 of file execution.cc.
References ASSERT, v8::internal::CODE_READY, Isolate::heap(), and Heap::SetStackLimits().
Referenced by OptimizingCompilerThread::Run().
| void RequestGC | ( | ) |
Definition at line 474 of file execution.cc.
References v8::internal::GC_REQUEST, Isolate::heap(), and Heap::SetStackLimits().
Referenced by IncrementalMarking::MarkingComplete().
| void RequestRuntimeProfilerTick | ( | ) |
Definition at line 436 of file execution.cc.
References Isolate::heap(), v8::internal::RUNTIME_PROFILER_TICK, and Heap::SetStackLimits().
Referenced by RuntimeProfiler::NotifyTick().
| 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 | ) |
Definition at line 363 of file execution.cc.
References StackGuard::jslimit(), and SimulatorStack::JsLimitFromCLimit().
Referenced by StackGuard::InitThread(), and v8::SetResourceConstraints().
| 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().
|
friend |
Definition at line 303 of file execution.h.
|
friend |
Definition at line 305 of file execution.h.
|
friend |
Definition at line 304 of file execution.h.