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

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

Issue 1653973003: [heap] Simplify distribution of remaining memory during sweeping & compaction (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove tests for dead code Created 4 years, 10 months 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/test-spaces.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_TESTER_H_ 5 #ifndef HEAP_HEAP_TESTER_H_
6 #define HEAP_HEAP_TESTER_H_ 6 #define HEAP_HEAP_TESTER_H_
7 7
8 #include "src/handles.h" 8 #include "src/handles.h"
9 #include "src/heap/spaces.h" 9 #include "src/heap/spaces.h"
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 HEAP_TEST_METHODS(DECLARE_STATIC) 53 HEAP_TEST_METHODS(DECLARE_STATIC)
54 #undef HEAP_TEST_METHODS 54 #undef HEAP_TEST_METHODS
55 55
56 /* test-alloc.cc */ 56 /* test-alloc.cc */
57 static AllocationResult AllocateAfterFailures(); 57 static AllocationResult AllocateAfterFailures();
58 static Handle<Object> TestAllocateAfterFailures(); 58 static Handle<Object> TestAllocateAfterFailures();
59 59
60 /* test-api.cc */ 60 /* test-api.cc */
61 static void ResetWeakHandle(bool global_gc); 61 static void ResetWeakHandle(bool global_gc);
62
63 /* test-spaces.cc */
64 static CompactionSpaceCollection** InitializeCompactionSpaces(Heap* heap,
65 int num_spaces);
66 static void DestroyCompactionSpaces(CompactionSpaceCollection** spaces,
67 int num_spaces);
68 static void MergeCompactionSpaces(PagedSpace* space,
69 CompactionSpaceCollection** spaces,
70 int num_spaces);
71 static void AllocateInCompactionSpaces(CompactionSpaceCollection** spaces,
72 AllocationSpace id, int num_spaces,
73 int num_objects, int object_size);
74 static void CompactionStats(CompactionSpaceCollection** spaces,
75 AllocationSpace id, int num_spaces,
76 intptr_t* capacity, intptr_t* size);
77 static void TestCompactionSpaceDivide(int num_additional_objects,
78 int object_size,
79 int num_compaction_spaces,
80 int additional_capacity_in_bytes);
81 }; 62 };
82 63
83 } // namespace internal 64 } // namespace internal
84 } // namespace v8 65 } // namespace v8
85 66
86 #endif // HEAP_HEAP_TESTER_H_ 67 #endif // HEAP_HEAP_TESTER_H_
OLDNEW
« no previous file with comments | « src/heap/spaces.cc ('k') | test/cctest/heap/test-spaces.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698