// Copyright 2020 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. #ifndef V8_HEAP_CPPGC_HEAP_SPACE_H_ #define V8_HEAP_CPPGC_HEAP_SPACE_H_ #include <vector> #include "src/base/logging.h" #include "src/base/macros.h" #include "src/base/platform/mutex.h" #include "src/heap/cppgc/free-list.h" namespace cppgc { namespace internal { class RawHeap; class BasePage; // BaseSpace is responsible for page management. class V8_EXPORT_PRIVATE BaseSpace { … }; class V8_EXPORT_PRIVATE NormalPageSpace final : public BaseSpace { … }; class V8_EXPORT_PRIVATE LargePageSpace final : public BaseSpace { … }; } // namespace internal } // namespace cppgc #endif // V8_HEAP_CPPGC_HEAP_SPACE_H_