v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <runtime-profiler.h>
Public Member Functions | |
RuntimeProfiler (Isolate *isolate) | |
void | OptimizeNow () |
void | NotifyICChanged () |
void | AttemptOnStackReplacement (JSFunction *function) |
Definition at line 42 of file runtime-profiler.h.
|
explicit |
Definition at line 77 of file runtime-profiler.cc.
void AttemptOnStackReplacement | ( | JSFunction * | function | ) |
Definition at line 136 of file runtime-profiler.cc.
References Isolate::DebuggerHasBreakPoints(), BackEdgeTable::Patch(), and v8::internal::PrintF().
Referenced by RuntimeProfiler::OptimizeNow().
|
inline |
Definition at line 48 of file runtime-profiler.h.
Referenced by IC::PostPatching().
void OptimizeNow | ( | ) |
Definition at line 167 of file runtime-profiler.cc.
References Code::allow_osr_at_loop_nesting_level(), RuntimeProfiler::AttemptOnStackReplacement(), Code::CodeSize(), Isolate::DebuggerHasBreakPoints(), SharedFunctionInfo::deopt_count(), JavaScriptFrame::function(), Code::instruction_size(), Code::kind(), Code::kMaxLoopNestingMarker, v8::internal::PrintF(), Code::profiler_ticks(), Code::set_allow_osr_at_loop_nesting_level(), Code::set_profiler_ticks(), SharedFunctionInfo::SourceSize(), and SharedFunctionInfo::TryReenableOptimization().
Referenced by Execution::HandleStackGuardInterrupt().