[heap] Rename local-allocator.h to evacuation-allocator.h
LocalAllocator was already renamed to EvacuationAllocator some time ago. Rename files now as well. Bug: v8:10315 Change-Id: I337f693998aaf5187a5ba05842cdb2474837b68d Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3463719 Auto-Submit: Dominik Inführ <dinfuehr@chromium.org> Commit-Queue: Dominik Inführ <dinfuehr@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/main@{#79104}
This commit is contained in:
parent
17b46632cb
commit
e782129040
@ -1366,8 +1366,8 @@ filegroup(
|
||||
"src/heap/large-spaces.h",
|
||||
"src/heap/linear-allocation-area.h",
|
||||
"src/heap/list.h",
|
||||
"src/heap/local-allocator-inl.h",
|
||||
"src/heap/local-allocator.h",
|
||||
"src/heap/evacuation-allocator-inl.h",
|
||||
"src/heap/evacuation-allocator.h",
|
||||
"src/heap/local-factory.cc",
|
||||
"src/heap/local-factory.h",
|
||||
"src/heap/local-factory-inl.h",
|
||||
|
4
BUILD.gn
4
BUILD.gn
@ -2970,6 +2970,8 @@ v8_header_set("v8_internal_headers") {
|
||||
"src/heap/cppgc-js/unified-heap-marking-visitor.h",
|
||||
"src/heap/embedder-tracing-inl.h",
|
||||
"src/heap/embedder-tracing.h",
|
||||
"src/heap/evacuation-allocator-inl.h",
|
||||
"src/heap/evacuation-allocator.h",
|
||||
"src/heap/factory-base-inl.h",
|
||||
"src/heap/factory-base.h",
|
||||
"src/heap/factory-inl.h",
|
||||
@ -2994,8 +2996,6 @@ v8_header_set("v8_internal_headers") {
|
||||
"src/heap/large-spaces.h",
|
||||
"src/heap/linear-allocation-area.h",
|
||||
"src/heap/list.h",
|
||||
"src/heap/local-allocator-inl.h",
|
||||
"src/heap/local-allocator.h",
|
||||
"src/heap/local-factory-inl.h",
|
||||
"src/heap/local-factory.h",
|
||||
"src/heap/local-heap-inl.h",
|
||||
|
@ -2,11 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_LOCAL_ALLOCATOR_INL_H_
|
||||
#define V8_HEAP_LOCAL_ALLOCATOR_INL_H_
|
||||
#ifndef V8_HEAP_EVACUATION_ALLOCATOR_INL_H_
|
||||
#define V8_HEAP_EVACUATION_ALLOCATOR_INL_H_
|
||||
|
||||
#include "src/common/globals.h"
|
||||
#include "src/heap/local-allocator.h"
|
||||
#include "src/heap/evacuation-allocator.h"
|
||||
#include "src/heap/spaces-inl.h"
|
||||
|
||||
namespace v8 {
|
||||
@ -126,4 +126,4 @@ AllocationResult EvacuationAllocator::AllocateInNewSpace(
|
||||
} // namespace internal
|
||||
} // namespace v8
|
||||
|
||||
#endif // V8_HEAP_LOCAL_ALLOCATOR_INL_H_
|
||||
#endif // V8_HEAP_EVACUATION_ALLOCATOR_INL_H_
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_LOCAL_ALLOCATOR_H_
|
||||
#define V8_HEAP_LOCAL_ALLOCATOR_H_
|
||||
#ifndef V8_HEAP_EVACUATION_ALLOCATOR_H_
|
||||
#define V8_HEAP_EVACUATION_ALLOCATOR_H_
|
||||
|
||||
#include "src/common/globals.h"
|
||||
#include "src/heap/heap.h"
|
||||
@ -70,4 +70,4 @@ class EvacuationAllocator {
|
||||
} // namespace internal
|
||||
} // namespace v8
|
||||
|
||||
#endif // V8_HEAP_LOCAL_ALLOCATOR_H_
|
||||
#endif // V8_HEAP_EVACUATION_ALLOCATOR_H_
|
@ -23,13 +23,13 @@
|
||||
#include "src/heap/basic-memory-chunk.h"
|
||||
#include "src/heap/code-object-registry.h"
|
||||
#include "src/heap/concurrent-allocator.h"
|
||||
#include "src/heap/evacuation-allocator-inl.h"
|
||||
#include "src/heap/gc-tracer.h"
|
||||
#include "src/heap/heap.h"
|
||||
#include "src/heap/incremental-marking-inl.h"
|
||||
#include "src/heap/index-generator.h"
|
||||
#include "src/heap/invalidated-slots-inl.h"
|
||||
#include "src/heap/large-spaces.h"
|
||||
#include "src/heap/local-allocator-inl.h"
|
||||
#include "src/heap/mark-compact-inl.h"
|
||||
#include "src/heap/marking-barrier.h"
|
||||
#include "src/heap/marking-visitor-inl.h"
|
||||
|
@ -5,8 +5,8 @@
|
||||
#ifndef V8_HEAP_SCAVENGER_INL_H_
|
||||
#define V8_HEAP_SCAVENGER_INL_H_
|
||||
|
||||
#include "src/heap/evacuation-allocator-inl.h"
|
||||
#include "src/heap/incremental-marking-inl.h"
|
||||
#include "src/heap/local-allocator-inl.h"
|
||||
#include "src/heap/memory-chunk.h"
|
||||
#include "src/heap/scavenger.h"
|
||||
#include "src/objects/map.h"
|
||||
|
@ -7,8 +7,8 @@
|
||||
|
||||
#include "src/base/platform/condition-variable.h"
|
||||
#include "src/heap/base/worklist.h"
|
||||
#include "src/heap/evacuation-allocator.h"
|
||||
#include "src/heap/index-generator.h"
|
||||
#include "src/heap/local-allocator.h"
|
||||
#include "src/heap/objects-visiting.h"
|
||||
#include "src/heap/parallel-work-item.h"
|
||||
#include "src/heap/slot-set.h"
|
||||
|
@ -60,9 +60,9 @@
|
||||
#include "src/execution/protectors-inl.h"
|
||||
#include "src/execution/vm-state.h"
|
||||
#include "src/handles/global-handles.h"
|
||||
#include "src/heap/evacuation-allocator.h"
|
||||
#include "src/heap/heap-inl.h"
|
||||
#include "src/heap/incremental-marking.h"
|
||||
#include "src/heap/local-allocator.h"
|
||||
#include "src/logging/metrics.h"
|
||||
#include "src/objects/feedback-vector-inl.h"
|
||||
#include "src/objects/feedback-vector.h"
|
||||
|
Loading…
Reference in New Issue
Block a user