Commit c301f820 authored by yurys@chromium.org's avatar yurys@chromium.org

Remove unused methods from RuntimeProfiler

Also removed Logger fields that used to be used for writing compressed logs.

BUG=None
R=bmeurer@chromium.org, loislo@chromium.org

Review URL: https://codereview.chromium.org/20768002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15941 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 9f4fc77e
......@@ -716,11 +716,6 @@ Logger::Logger(Isolate* isolate)
jit_logger_(NULL),
listeners_(5),
is_initialized_(false),
last_address_(NULL),
prev_sp_(NULL),
prev_function_(NULL),
prev_to_(NULL),
prev_code_(NULL),
epoch_(0) {
}
......
......@@ -450,17 +450,6 @@ class Logger {
// 'true' between SetUp() and TearDown().
bool is_initialized_;
// Support for 'incremental addresses' in compressed logs:
// LogMessageBuilder::AppendAddress(Address addr)
Address last_address_;
// Logger::TickEvent(...)
Address prev_sp_;
Address prev_function_;
// Logger::MoveEventInternal(...)
Address prev_to_;
// Logger::FunctionCreateEvent(...)
Address prev_code_;
int64_t epoch_;
friend class CpuProfiler;
......
......@@ -408,11 +408,6 @@ void RuntimeProfiler::TearDown() {
}
int RuntimeProfiler::SamplerWindowSize() {
return kSamplerWindowSize;
}
// Update the pointers in the sampler window after a GC.
void RuntimeProfiler::UpdateSamplesAfterScavenge() {
for (int i = 0; i < kSamplerWindowSize; i++) {
......
......@@ -49,9 +49,6 @@ class RuntimeProfiler {
void Reset();
void TearDown();
Object** SamplerWindowAddress();
int SamplerWindowSize();
void NotifyICChanged() { any_ic_changed_ = true; }
// Rate limiting support.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment