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
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 100 of file runtime-profiler.cc.

Member Function Documentation

void GlobalSetUp ( )
static

Definition at line 113 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 443 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 396 of file runtime-profiler.cc.

Referenced by Context::New().

Object** SamplerWindowAddress ( )
int SamplerWindowSize ( )

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

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

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

void UpdateSamplesAfterCompact ( ObjectVisitor *  visitor)

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

void UpdateSamplesAfterScavenge ( )
bool WaitForSomeIsolateToEnterJS ( )
static

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

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


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