chromium/v8/src/heap/stress-scavenge-observer.cc

// Copyright 2017 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/stress-scavenge-observer.h"

#include "src/base/utils/random-number-generator.h"
#include "src/execution/isolate.h"
#include "src/heap/heap-inl.h"
#include "src/heap/spaces.h"

namespace v8 {
namespace internal {

// TODO(majeski): meaningful step_size
StressScavengeObserver::StressScavengeObserver(Heap* heap)
    :{}

void StressScavengeObserver::Step(int bytes_allocated, Address soon_object,
                                  size_t size) {}

bool StressScavengeObserver::HasRequestedGC() const {}

void StressScavengeObserver::RequestedGCDone() {}

double StressScavengeObserver::MaxNewSpaceSizeReached() const {}

int StressScavengeObserver::NextLimit(int min) {}

}  // namespace internal
}  // namespace v8