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

// Copyright 2023 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-balancer.h"

#include "src/heap/heap-inl.h"
#include "src/heap/heap.h"

namespace v8 {
namespace internal {

MemoryBalancer::MemoryBalancer(Heap* heap, base::TimeTicks startup_time)
    :{}

void MemoryBalancer::RecomputeLimits(size_t embedder_allocation_limit,
                                     base::TimeTicks time) {}

void MemoryBalancer::RefreshLimit() {}

void MemoryBalancer::UpdateGCSpeed(size_t major_gc_bytes,
                                   base::TimeDelta major_gc_duration) {}

void MemoryBalancer::UpdateAllocationRate(
    size_t major_allocation_bytes, base::TimeDelta major_allocation_duration) {}

void MemoryBalancer::HeartbeatUpdate() {}

void MemoryBalancer::PostHeartbeatTask() {}

HeartbeatTask::HeartbeatTask(Isolate* isolate, MemoryBalancer* mb)
    :{}

void HeartbeatTask::RunInternal() {}

}  // namespace internal
}  // namespace v8