chromium/v8/src/heap/memory-reducer.cc

// Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "src/heap/memory-reducer.h"

#include "src/flags/flags.h"
#include "src/heap/gc-tracer.h"
#include "src/heap/heap-inl.h"
#include "src/heap/incremental-marking.h"
#include "src/init/v8.h"
#include "src/utils/utils.h"

namespace v8 {
namespace internal {

const int MemoryReducer::kLongDelayMs =;
const int MemoryReducer::kShortDelayMs =;
const int MemoryReducer::kWatchdogDelayMs =;
const double MemoryReducer::kCommittedMemoryFactor =;
const size_t MemoryReducer::kCommittedMemoryDelta =;

MemoryReducer::MemoryReducer(Heap* heap)
    :{}

MemoryReducer::TimerTask::TimerTask(MemoryReducer* memory_reducer)
    :{}


void MemoryReducer::TimerTask::RunInternal() {}


void MemoryReducer::NotifyTimer(const Event& event) {}

void MemoryReducer::NotifyMarkCompact(size_t committed_memory_before) {}

void MemoryReducer::NotifyPossibleGarbage() {}

bool MemoryReducer::WatchdogGC(const State& state, const Event& event) {}


// For specification of this function see the comment for MemoryReducer class.
MemoryReducer::State MemoryReducer::Step(const State& state,
                                         const Event& event) {}

void MemoryReducer::ScheduleTimer(double delay_ms) {}

void MemoryReducer::TearDown() {}

// static
int MemoryReducer::MaxNumberOfGCs() {}

}  // namespace internal
}  // namespace v8