Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: test/cctest/heap/heap-utils.h

Issue 2469273002: [heap] Exclude the owner of the linear allocation area from evacuation. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/heap/spaces.cc ('k') | test/cctest/heap/heap-utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef HEAP_HEAP_UTILS_H_ 5 #ifndef HEAP_HEAP_UTILS_H_
6 #define HEAP_HEAP_UTILS_H_ 6 #define HEAP_HEAP_UTILS_H_
7 7
8 #include "src/heap/heap.h" 8 #include "src/heap/heap.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 // marking is completed. 43 // marking is completed.
44 void SimulateIncrementalMarking(i::Heap* heap, bool force_completion = true); 44 void SimulateIncrementalMarking(i::Heap* heap, bool force_completion = true);
45 45
46 // Helper function that simulates a full old-space in the heap. 46 // Helper function that simulates a full old-space in the heap.
47 void SimulateFullSpace(v8::internal::PagedSpace* space); 47 void SimulateFullSpace(v8::internal::PagedSpace* space);
48 48
49 void AbandonCurrentlyFreeMemory(PagedSpace* space); 49 void AbandonCurrentlyFreeMemory(PagedSpace* space);
50 50
51 void GcAndSweep(Heap* heap, AllocationSpace space); 51 void GcAndSweep(Heap* heap, AllocationSpace space);
52 52
53 void ForceEvacuationCandidate(Page* page);
54
53 } // namespace heap 55 } // namespace heap
54 } // namespace internal 56 } // namespace internal
55 } // namespace v8 57 } // namespace v8
56 58
57 #endif // HEAP_HEAP_UTILS_H_ 59 #endif // HEAP_HEAP_UTILS_H_
OLDNEW
« no previous file with comments | « src/heap/spaces.cc ('k') | test/cctest/heap/heap-utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698