| 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/handles.h" | 8 #include "src/handles.h" |
| 9 #include "src/heap/spaces.h" | 9 #include "src/heap/spaces.h" |
| 10 | 10 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 V(MarkCompactCollector) \ | 21 V(MarkCompactCollector) \ |
| 22 V(NoPromotion) \ | 22 V(NoPromotion) \ |
| 23 V(NumberStringCacheSize) \ | 23 V(NumberStringCacheSize) \ |
| 24 V(ObjectGroups) \ | 24 V(ObjectGroups) \ |
| 25 V(Promotion) \ | 25 V(Promotion) \ |
| 26 V(Regression39128) \ | 26 V(Regression39128) \ |
| 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(WriteBarriersInCopyJSObject) | 32 V(WriteBarriersInCopyJSObject) |
| 32 | 33 |
| 33 | |
| 34 #define HEAP_TEST(Name) \ | 34 #define HEAP_TEST(Name) \ |
| 35 CcTest register_test_##Name(v8::internal::HeapTester::Test##Name, __FILE__, \ | 35 CcTest register_test_##Name(v8::internal::HeapTester::Test##Name, __FILE__, \ |
| 36 #Name, NULL, true, true); \ | 36 #Name, NULL, true, true); \ |
| 37 void v8::internal::HeapTester::Test##Name() | 37 void v8::internal::HeapTester::Test##Name() |
| 38 | 38 |
| 39 | 39 |
| 40 #define THREADED_HEAP_TEST(Name) \ | 40 #define THREADED_HEAP_TEST(Name) \ |
| 41 RegisterThreadedTest register_##Name(v8::internal::HeapTester::Test##Name, \ | 41 RegisterThreadedTest register_##Name(v8::internal::HeapTester::Test##Name, \ |
| 42 #Name); \ | 42 #Name); \ |
| 43 /* */ HEAP_TEST(Name) | 43 /* */ HEAP_TEST(Name) |
| (...skipping 14 matching lines...) Expand all Loading... |
| 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 }; | 62 }; |
| 63 | 63 |
| 64 } // namespace internal | 64 } // namespace internal |
| 65 } // namespace v8 | 65 } // namespace v8 |
| 66 | 66 |
| 67 #endif // HEAP_HEAP_TESTER_H_ | 67 #endif // HEAP_HEAP_TESTER_H_ |
| OLD | NEW |