| Index: src/heap/mark-compact.cc
|
| diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc
|
| index f0483c95615063b8b9954c979e565adfd628562e..10dfae31e20ac38e9300676ccce1d30d746dd9f3 100644
|
| --- a/src/heap/mark-compact.cc
|
| +++ b/src/heap/mark-compact.cc
|
| @@ -139,7 +139,6 @@ static void VerifyMarking(Heap* heap) {
|
| VerifyMarking(heap->old_data_space());
|
| VerifyMarking(heap->code_space());
|
| VerifyMarking(heap->cell_space());
|
| - VerifyMarking(heap->property_cell_space());
|
| VerifyMarking(heap->map_space());
|
| VerifyMarking(heap->new_space());
|
|
|
| @@ -220,7 +219,6 @@ static void VerifyEvacuation(Heap* heap) {
|
| VerifyEvacuation(heap, heap->old_data_space());
|
| VerifyEvacuation(heap, heap->code_space());
|
| VerifyEvacuation(heap, heap->cell_space());
|
| - VerifyEvacuation(heap, heap->property_cell_space());
|
| VerifyEvacuation(heap, heap->map_space());
|
| VerifyEvacuation(heap->new_space());
|
|
|
| @@ -276,7 +274,6 @@ bool MarkCompactCollector::StartCompaction(CompactionMode mode) {
|
| if (FLAG_trace_fragmentation) {
|
| TraceFragmentation(heap()->map_space());
|
| TraceFragmentation(heap()->cell_space());
|
| - TraceFragmentation(heap()->property_cell_space());
|
| }
|
|
|
| heap()->old_pointer_space()->EvictEvacuationCandidatesFromFreeLists();
|
| @@ -371,7 +368,6 @@ void MarkCompactCollector::VerifyMarkbitsAreClean() {
|
| VerifyMarkbitsAreClean(heap_->old_data_space());
|
| VerifyMarkbitsAreClean(heap_->code_space());
|
| VerifyMarkbitsAreClean(heap_->cell_space());
|
| - VerifyMarkbitsAreClean(heap_->property_cell_space());
|
| VerifyMarkbitsAreClean(heap_->map_space());
|
| VerifyMarkbitsAreClean(heap_->new_space());
|
|
|
| @@ -430,7 +426,6 @@ void MarkCompactCollector::ClearMarkbits() {
|
| ClearMarkbitsInPagedSpace(heap_->old_pointer_space());
|
| ClearMarkbitsInPagedSpace(heap_->old_data_space());
|
| ClearMarkbitsInPagedSpace(heap_->cell_space());
|
| - ClearMarkbitsInPagedSpace(heap_->property_cell_space());
|
| ClearMarkbitsInNewSpace(heap_->new_space());
|
|
|
| LargeObjectIterator it(heap_->lo_space());
|
| @@ -588,8 +583,6 @@ const char* AllocationSpaceName(AllocationSpace space) {
|
| return "MAP_SPACE";
|
| case CELL_SPACE:
|
| return "CELL_SPACE";
|
| - case PROPERTY_CELL_SPACE:
|
| - return "PROPERTY_CELL_SPACE";
|
| case LO_SPACE:
|
| return "LO_SPACE";
|
| default:
|
| @@ -2060,10 +2053,6 @@ void MarkCompactCollector::RefillMarkingDeque() {
|
| DiscoverGreyObjectsInSpace(heap(), &marking_deque_, heap()->cell_space());
|
| if (marking_deque_.IsFull()) return;
|
|
|
| - DiscoverGreyObjectsInSpace(heap(), &marking_deque_,
|
| - heap()->property_cell_space());
|
| - if (marking_deque_.IsFull()) return;
|
| -
|
| LargeObjectIterator lo_it(heap()->lo_space());
|
| DiscoverGreyObjectsWithIterator(heap(), &marking_deque_, &lo_it);
|
| if (marking_deque_.IsFull()) return;
|
| @@ -2268,17 +2257,6 @@ void MarkCompactCollector::MarkLiveObjects() {
|
| }
|
| }
|
| }
|
| - {
|
| - HeapObjectIterator js_global_property_cell_iterator(
|
| - heap()->property_cell_space());
|
| - HeapObject* cell;
|
| - while ((cell = js_global_property_cell_iterator.Next()) != NULL) {
|
| - DCHECK(cell->IsPropertyCell());
|
| - if (IsMarked(cell)) {
|
| - MarkCompactMarkingVisitor::VisitPropertyCell(cell->map(), cell);
|
| - }
|
| - }
|
| - }
|
| }
|
|
|
| RootMarkingVisitor root_visitor(heap());
|
| @@ -2935,11 +2913,9 @@ void PointersUpdatingVisitor::CheckLayoutDescriptorAndDie(Heap* heap,
|
| space_owner_id = 6;
|
| } else if (heap->cell_space()->ContainsSafe(slot_address)) {
|
| space_owner_id = 7;
|
| - } else if (heap->property_cell_space()->ContainsSafe(slot_address)) {
|
| - space_owner_id = 8;
|
| } else {
|
| // Lo space or other.
|
| - space_owner_id = 9;
|
| + space_owner_id = 8;
|
| }
|
| data[index++] = space_owner_id;
|
| data[index++] = 0x20aaaaaaaaUL;
|
| @@ -3744,15 +3720,6 @@ void MarkCompactCollector::EvacuateNewSpaceAndCandidates() {
|
| }
|
| }
|
|
|
| - HeapObjectIterator js_global_property_cell_iterator(
|
| - heap_->property_cell_space());
|
| - for (HeapObject* cell = js_global_property_cell_iterator.Next(); cell != NULL;
|
| - cell = js_global_property_cell_iterator.Next()) {
|
| - if (cell->IsPropertyCell()) {
|
| - PropertyCell::BodyDescriptor::IterateBody(cell, &updating_visitor);
|
| - }
|
| - }
|
| -
|
| heap_->string_table()->Iterate(&updating_visitor);
|
|
|
| // Update pointers from external string table.
|
| @@ -4376,7 +4343,6 @@ void MarkCompactCollector::SweepSpaces() {
|
| GCTracer::Scope sweep_scope(heap()->tracer(),
|
| GCTracer::Scope::MC_SWEEP_CELL);
|
| SweepSpace(heap()->cell_space(), SEQUENTIAL_SWEEPING);
|
| - SweepSpace(heap()->property_cell_space(), SEQUENTIAL_SWEEPING);
|
| }
|
|
|
| EvacuateNewSpaceAndCandidates();
|
|
|