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

#include <optimizing-compiler-thread.h>

Inheritance diagram for OptimizingCompilerThread:
Collaboration diagram for OptimizingCompilerThread:

Public Member Functions

 OptimizingCompilerThread (Isolate *isolate)
 
 ~OptimizingCompilerThread ()
 
void Run ()
 
void Stop ()
 
void Flush ()
 
void QueueForOptimization (OptimizedCompileJob *optimizing_compiler)
 
void Unblock ()
 
void InstallOptimizedFunctions ()
 
OptimizedCompileJobFindReadyOSRCandidate (Handle< JSFunction > function, BailoutId osr_ast_id)
 
bool IsQueuedForOSR (Handle< JSFunction > function, BailoutId osr_ast_id)
 
bool IsQueuedForOSR (JSFunction *function)
 
bool IsQueueAvailable ()
 
void AgeBufferedOsrJobs ()
 
- Public Member Functions inherited from Thread
 Thread (const Options &options)
 
virtual ~Thread ()
 
void Start ()
 
void StartSynchronously ()
 
void Join ()
 
const char * name () const
 
PlatformDatadata ()
 
void NotifyStartedAndRun ()
 

Static Public Member Functions

static bool Enabled (int max_available)
 
- Static Public Member Functions inherited from Thread
static LocalStorageKey CreateThreadLocalKey ()
 
static void DeleteThreadLocalKey (LocalStorageKey key)
 
static void * GetThreadLocal (LocalStorageKey key)
 
static int GetThreadLocalInt (LocalStorageKey key)
 
static void SetThreadLocal (LocalStorageKey key, void *value)
 
static void SetThreadLocalInt (LocalStorageKey key, int value)
 
static bool HasThreadLocal (LocalStorageKey key)
 
static void * GetExistingThreadLocal (LocalStorageKey key)
 
static void YieldCPU ()
 

Additional Inherited Members

- Public Types inherited from Thread
enum  LocalStorageKey { LOCAL_STORAGE_KEY_MIN_VALUE = kMinInt, LOCAL_STORAGE_KEY_MAX_VALUE = kMaxInt }
 
- Static Public Attributes inherited from Thread
static const int kMaxThreadNameLength = 16
 

Detailed Description

Definition at line 46 of file optimizing-compiler-thread.h.

Constructor & Destructor Documentation

OptimizingCompilerThread ( Isolate isolate)
inlineexplicit

Member Function Documentation

void AgeBufferedOsrJobs ( )
inline

Definition at line 92 of file optimizing-compiler-thread.h.

References v8::internal::NULL.

static bool Enabled ( int  max_available)
inlinestatic

Definition at line 99 of file optimizing-compiler-thread.h.

bool IsQueueAvailable ( )
inline
void QueueForOptimization ( OptimizedCompileJob optimizing_compiler)
void Unblock ( )

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