Chromium Code Reviews| Index: src/mark-compact.cc |
| diff --git a/src/mark-compact.cc b/src/mark-compact.cc |
| index bdd4785e3e729368ab1c6bf297e48457f9b5c6b4..f767727a812bca2e305dc63abe5565151991c8cd 100644 |
| --- a/src/mark-compact.cc |
| +++ b/src/mark-compact.cc |
| @@ -522,6 +522,8 @@ void MarkCompactCollector::WaitUntilSweepingCompleted() { |
| StealMemoryFromSweeperThreads(heap()->paged_space(OLD_DATA_SPACE)); |
| StealMemoryFromSweeperThreads(heap()->paged_space(OLD_POINTER_SPACE)); |
| heap()->FreeQueuedChunks(); |
| + heap()->paged_space(OLD_DATA_SPACE)->ResetUnsweptFreeBytes(); |
| + heap()->paged_space(OLD_POINTER_SPACE)->ResetUnsweptFreeBytes(); |
|
Michael Starzinger
2013/02/28 13:09:52
This requires rebasing, but I agree that WaitUntil
Hannes Payer (out of office)
2013/02/28 14:42:34
Done.
|
| } |
| } |
| @@ -3779,6 +3781,7 @@ void MarkCompactCollector::SweepSpace(PagedSpace* space, SweeperType sweeper) { |
| reinterpret_cast<intptr_t>(p)); |
| } |
| p->set_parallel_sweeping(1); |
| + space->IncreaseUnsweptFreeBytes(p); |
| break; |
| } |
| case PRECISE: { |