Chromium Code Reviews| Index: src/runtime-profiler.h |
| diff --git a/src/runtime-profiler.h b/src/runtime-profiler.h |
| index 28d6d322fd547ad3fdf3eee63704d46b744b78c8..50292a7bf65be68b39e272d46dab97617bdb1bfd 100644 |
| --- a/src/runtime-profiler.h |
| +++ b/src/runtime-profiler.h |
| @@ -51,39 +51,15 @@ class RuntimeProfiler { |
| void NotifyICChanged() { any_ic_changed_ = true; } |
| - // Rate limiting support. |
| - |
| - void UpdateSamplesAfterScavenge(); |
| - void RemoveDeadSamples(); |
| - void UpdateSamplesAfterCompact(ObjectVisitor* visitor); |
| - |
| void AttemptOnStackReplacement(JSFunction* function); |
| private: |
| - static const int kSamplerWindowSize = 16; |
| - |
| void Optimize(JSFunction* function, const char* reason); |
| - void ClearSampleBuffer(); |
| - |
| - void ClearSampleBufferNewSpaceEntries(); |
| - |
| - int LookupSample(JSFunction* function); |
| - |
| - void AddSample(JSFunction* function, int weight); |
| - |
| bool CodeSizeOKForOSR(Code* shared_code); |
| Isolate* isolate_; |
| - int sampler_threshold_; |
| - int sampler_threshold_size_factor_; |
| - int sampler_ticks_until_threshold_adjustment_; |
| - |
| - Object* sampler_window_[kSamplerWindowSize]; |
| - int sampler_window_position_; |
| - int sampler_window_weight_[kSamplerWindowSize]; |
| - |
| bool any_ic_changed_; |
| bool code_generated_; |
|
Yang
2013/12/05 12:26:59
This seems to be unused as well.
Jakob Kummerow
2013/12/05 12:31:51
Done.
|
| }; |