Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(438)

Side by Side Diff: src/heap/heap.cc

Issue 1695433002: Handlify DeoptimizedFrameInfo, remove custom GC iteration. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Use handle rather than the constructor. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/deoptimizer.cc ('k') | src/runtime/runtime-debug.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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/heap/heap.h" 5 #include "src/heap/heap.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/api.h" 8 #include "src/api.h"
9 #include "src/ast/scopeinfo.h" 9 #include "src/ast/scopeinfo.h"
10 #include "src/base/bits.h" 10 #include "src/base/bits.h"
(...skipping 4575 matching lines...) Expand 10 before | Expand all | Expand 10 after
4586 v->VisitPointers(&roots_[0], &roots_[kStrongRootListLength]); 4586 v->VisitPointers(&roots_[0], &roots_[kStrongRootListLength]);
4587 v->Synchronize(VisitorSynchronization::kStrongRootList); 4587 v->Synchronize(VisitorSynchronization::kStrongRootList);
4588 4588
4589 isolate_->bootstrapper()->Iterate(v); 4589 isolate_->bootstrapper()->Iterate(v);
4590 v->Synchronize(VisitorSynchronization::kBootstrapper); 4590 v->Synchronize(VisitorSynchronization::kBootstrapper);
4591 isolate_->Iterate(v); 4591 isolate_->Iterate(v);
4592 v->Synchronize(VisitorSynchronization::kTop); 4592 v->Synchronize(VisitorSynchronization::kTop);
4593 Relocatable::Iterate(isolate_, v); 4593 Relocatable::Iterate(isolate_, v);
4594 v->Synchronize(VisitorSynchronization::kRelocatable); 4594 v->Synchronize(VisitorSynchronization::kRelocatable);
4595 4595
4596 if (isolate_->deoptimizer_data() != NULL) {
4597 isolate_->deoptimizer_data()->Iterate(v);
4598 }
4599 v->Synchronize(VisitorSynchronization::kDebug);
4600 isolate_->compilation_cache()->Iterate(v); 4596 isolate_->compilation_cache()->Iterate(v);
4601 v->Synchronize(VisitorSynchronization::kCompilationCache); 4597 v->Synchronize(VisitorSynchronization::kCompilationCache);
4602 4598
4603 // Iterate over local handles in handle scopes. 4599 // Iterate over local handles in handle scopes.
4604 isolate_->handle_scope_implementer()->Iterate(v); 4600 isolate_->handle_scope_implementer()->Iterate(v);
4605 isolate_->IterateDeferredHandles(v); 4601 isolate_->IterateDeferredHandles(v);
4606 v->Synchronize(VisitorSynchronization::kHandleScope); 4602 v->Synchronize(VisitorSynchronization::kHandleScope);
4607 4603
4608 // Iterate over the builtin code objects and code stubs in the 4604 // Iterate over the builtin code objects and code stubs in the
4609 // heap. Note that it is not necessary to iterate over code objects 4605 // heap. Note that it is not necessary to iterate over code objects
(...skipping 1604 matching lines...) Expand 10 before | Expand all | Expand 10 after
6214 } 6210 }
6215 6211
6216 6212
6217 // static 6213 // static
6218 int Heap::GetStaticVisitorIdForMap(Map* map) { 6214 int Heap::GetStaticVisitorIdForMap(Map* map) {
6219 return StaticVisitorBase::GetVisitorId(map); 6215 return StaticVisitorBase::GetVisitorId(map);
6220 } 6216 }
6221 6217
6222 } // namespace internal 6218 } // namespace internal
6223 } // namespace v8 6219 } // namespace v8
OLDNEW
« no previous file with comments | « src/deoptimizer.cc ('k') | src/runtime/runtime-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698