v8  3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RuntimeProfiler Class Reference

#include <runtime-profiler.h>

Public Member Functions

 RuntimeProfiler (Isolate *isolate)
 
void OptimizeNow ()
 
void NotifyTick ()
 
void SetUp ()
 
void Reset ()
 
void TearDown ()
 
Object ** SamplerWindowAddress ()
 
int SamplerWindowSize ()
 
void NotifyICChanged ()
 
void UpdateSamplesAfterScavenge ()
 
void RemoveDeadSamples ()
 
void UpdateSamplesAfterCompact (ObjectVisitor *visitor)
 
void AttemptOnStackReplacement (JSFunction *function)
 

Static Public Member Functions

static void GlobalSetUp ()
 
static bool IsEnabled ()
 
static void IsolateEnteredJS (Isolate *isolate)
 
static void IsolateExitedJS (Isolate *isolate)
 
static bool IsSomeIsolateInJS ()
 
static bool WaitForSomeIsolateToEnterJS ()
 
static void StopRuntimeProfilerThreadBeforeShutdown (Thread *thread)
 

Detailed Description

Definition at line 42 of file runtime-profiler.h.

Constructor & Destructor Documentation

RuntimeProfiler ( Isolate isolate)
explicit

Definition at line 98 of file runtime-profiler.cc.

Member Function Documentation

void GlobalSetUp ( )
static

Definition at line 111 of file runtime-profiler.cc.

References ASSERT, and V8::UseCrankshaft().

void IsolateEnteredJS ( Isolate isolate)
inlinestatic
void IsolateExitedJS ( Isolate isolate)
inlinestatic
bool IsSomeIsolateInJS ( )
static

Definition at line 434 of file runtime-profiler.cc.

References v8::internal::NoBarrier_Load().

Referenced by Isolate::SetCurrentVMState().

void NotifyICChanged ( )
inline

Definition at line 64 of file runtime-profiler.h.

void RemoveDeadSamples ( )
void Reset ( )

Definition at line 387 of file runtime-profiler.cc.

Referenced by Context::New().

Object** SamplerWindowAddress ( )
int SamplerWindowSize ( )

Definition at line 402 of file runtime-profiler.cc.

void SetUp ( )
void StopRuntimeProfilerThreadBeforeShutdown ( Thread thread)
static
void TearDown ( )

Definition at line 397 of file runtime-profiler.cc.

void UpdateSamplesAfterCompact ( ObjectVisitor *  visitor)

Definition at line 481 of file runtime-profiler.cc.

void UpdateSamplesAfterScavenge ( )
bool WaitForSomeIsolateToEnterJS ( )
static

Definition at line 439 of file runtime-profiler.cc.

References ASSERT, and v8::internal::NoBarrier_CompareAndSwap().


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