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

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

Issue 2635973002: [heap] Don't allocate immovable code in LO space during serialization (Closed)
Patch Set: Add test Created 3 years, 11 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/isolate.h ('k') | test/cctest/heap/test-heap.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 16 matching lines...) Expand all
27 V(Regression39128) \ 27 V(Regression39128) \
28 V(ResetWeakHandle) \ 28 V(ResetWeakHandle) \
29 V(StressHandles) \ 29 V(StressHandles) \
30 V(TestMemoryReducerSampleJsCalls) \ 30 V(TestMemoryReducerSampleJsCalls) \
31 V(TestSizeOfObjects) \ 31 V(TestSizeOfObjects) \
32 V(Regress587004) \ 32 V(Regress587004) \
33 V(Regress538257) \ 33 V(Regress538257) \
34 V(Regress589413) \ 34 V(Regress589413) \
35 V(Regress658718) \ 35 V(Regress658718) \
36 V(Regress670675) \ 36 V(Regress670675) \
37 V(Regress5831) \
37 V(WriteBarriersInCopyJSObject) 38 V(WriteBarriersInCopyJSObject)
38 39
39 #define HEAP_TEST(Name) \ 40 #define HEAP_TEST(Name) \
40 CcTest register_test_##Name(v8::internal::HeapTester::Test##Name, __FILE__, \ 41 CcTest register_test_##Name(v8::internal::HeapTester::Test##Name, __FILE__, \
41 #Name, true, true); \ 42 #Name, true, true); \
42 void v8::internal::HeapTester::Test##Name() 43 void v8::internal::HeapTester::Test##Name()
43 44
44 #define UNINITIALIZED_HEAP_TEST(Name) \ 45 #define UNINITIALIZED_HEAP_TEST(Name) \
45 CcTest register_test_##Name(v8::internal::HeapTester::Test##Name, __FILE__, \ 46 CcTest register_test_##Name(v8::internal::HeapTester::Test##Name, __FILE__, \
46 #Name, true, false); \ 47 #Name, true, false); \
(...skipping 20 matching lines...) Expand all
67 static Handle<Object> TestAllocateAfterFailures(); 68 static Handle<Object> TestAllocateAfterFailures();
68 69
69 /* test-api.cc */ 70 /* test-api.cc */
70 static void ResetWeakHandle(bool global_gc); 71 static void ResetWeakHandle(bool global_gc);
71 }; 72 };
72 73
73 } // namespace internal 74 } // namespace internal
74 } // namespace v8 75 } // namespace v8
75 76
76 #endif // HEAP_HEAP_TESTER_H_ 77 #endif // HEAP_HEAP_TESTER_H_
OLDNEW
« no previous file with comments | « src/isolate.h ('k') | test/cctest/heap/test-heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698