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 #include "src/factory.h" |
| 6 #include "src/heap/mark-compact.h" |
| 7 #include "src/isolate.h" |
| 8 // FIXME(mstarzinger, marja): This is weird, but required because of the missing |
| 9 // (disallowed) include: src/factory.h -> src/objects-inl.h |
| 10 #include "src/objects-inl.h" |
| 11 // FIXME(mstarzinger, marja): This is weird, but required because of the missing |
| 12 // (disallowed) include: src/type-feedback-vector.h -> |
| 13 // src/type-feedback-vector-inl.h |
| 14 #include "src/type-feedback-vector-inl.h" |
5 #include "test/cctest/cctest.h" | 15 #include "test/cctest/cctest.h" |
6 #include "test/cctest/heap/heap-tester.h" | 16 #include "test/cctest/heap/heap-tester.h" |
7 #include "test/cctest/heap/heap-utils.h" | 17 #include "test/cctest/heap/heap-utils.h" |
8 | 18 |
9 namespace v8 { | 19 namespace v8 { |
10 namespace internal { | 20 namespace internal { |
11 | 21 |
12 namespace { | 22 namespace { |
13 | 23 |
14 void CheckInvariantsOfAbortedPage(Page* page) { | 24 void CheckInvariantsOfAbortedPage(Page* page) { |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 // If store buffer entries are not properly filtered/reset for aborted | 353 // If store buffer entries are not properly filtered/reset for aborted |
344 // pages we have now a broken address at an object slot in old space and | 354 // pages we have now a broken address at an object slot in old space and |
345 // the following scavenge will crash. | 355 // the following scavenge will crash. |
346 heap->CollectGarbage(NEW_SPACE); | 356 heap->CollectGarbage(NEW_SPACE); |
347 } | 357 } |
348 } | 358 } |
349 } | 359 } |
350 | 360 |
351 } // namespace internal | 361 } // namespace internal |
352 } // namespace v8 | 362 } // namespace v8 |
OLD | NEW |