OLD | NEW |
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/heap/spaces.h" | 8 #include "src/heap/spaces.h" |
9 | 9 |
10 // Tests that should have access to private methods of {v8::internal::Heap}. | 10 // Tests that should have access to private methods of {v8::internal::Heap}. |
(...skipping 16 matching lines...) Expand all Loading... |
27 V(ResetWeakHandle) \ | 27 V(ResetWeakHandle) \ |
28 V(StressHandles) \ | 28 V(StressHandles) \ |
29 V(TestMemoryReducerSampleJsCalls) \ | 29 V(TestMemoryReducerSampleJsCalls) \ |
30 V(TestSizeOfObjects) \ | 30 V(TestSizeOfObjects) \ |
31 V(Regress587004) \ | 31 V(Regress587004) \ |
32 V(Regress538257) \ | 32 V(Regress538257) \ |
33 V(Regress589413) \ | 33 V(Regress589413) \ |
34 V(Regress658718) \ | 34 V(Regress658718) \ |
35 V(Regress670675) \ | 35 V(Regress670675) \ |
36 V(Regress5831) \ | 36 V(Regress5831) \ |
| 37 V(RegressMissingWriteBarrierInAllocate) \ |
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 23 matching lines...) Expand all Loading... |
70 static Handle<Object> TestAllocateAfterFailures(); | 71 static Handle<Object> TestAllocateAfterFailures(); |
71 | 72 |
72 /* test-api.cc */ | 73 /* test-api.cc */ |
73 static void ResetWeakHandle(bool global_gc); | 74 static void ResetWeakHandle(bool global_gc); |
74 }; | 75 }; |
75 | 76 |
76 } // namespace internal | 77 } // namespace internal |
77 } // namespace v8 | 78 } // namespace v8 |
78 | 79 |
79 #endif // HEAP_HEAP_TESTER_H_ | 80 #endif // HEAP_HEAP_TESTER_H_ |
OLD | NEW |