| Index: src/heap/spaces.h
|
| diff --git a/src/heap/spaces.h b/src/heap/spaces.h
|
| index 532c9b2e878f2cad7e1a3dc3d2c67ae6443d5490..c3b2873df24e3200b620e8c640258d62379f5f66 100644
|
| --- a/src/heap/spaces.h
|
| +++ b/src/heap/spaces.h
|
| @@ -12,6 +12,7 @@
|
| #include "src/base/platform/mutex.h"
|
| #include "src/flags.h"
|
| #include "src/hashmap.h"
|
| +#include "src/heap/store-buffer.h"
|
| #include "src/list.h"
|
| #include "src/objects.h"
|
| #include "src/utils.h"
|
| @@ -2995,9 +2996,7 @@ class CompactionSpaceCollection : public Malloced {
|
| public:
|
| explicit CompactionSpaceCollection(Heap* heap)
|
| : old_space_(heap, OLD_SPACE, Executability::NOT_EXECUTABLE),
|
| - code_space_(heap, CODE_SPACE, Executability::EXECUTABLE),
|
| - duration_(0.0),
|
| - bytes_compacted_(0) {}
|
| + code_space_(heap, CODE_SPACE, Executability::EXECUTABLE) {}
|
|
|
| CompactionSpace* Get(AllocationSpace space) {
|
| switch (space) {
|
| @@ -3012,21 +3011,9 @@ class CompactionSpaceCollection : public Malloced {
|
| return nullptr;
|
| }
|
|
|
| - void ReportCompactionProgress(double duration, intptr_t bytes_compacted) {
|
| - duration_ += duration;
|
| - bytes_compacted_ += bytes_compacted;
|
| - }
|
| -
|
| - double duration() const { return duration_; }
|
| - intptr_t bytes_compacted() const { return bytes_compacted_; }
|
| -
|
| private:
|
| CompactionSpace old_space_;
|
| CompactionSpace code_space_;
|
| -
|
| - // Book keeping.
|
| - double duration_;
|
| - intptr_t bytes_compacted_;
|
| };
|
|
|
|
|
|
|