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

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

Issue 1844283002: [heap] Remove store buffer top from roots (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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/heap/heap.h ('k') | src/heap/heap-inl.h » ('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 2916 matching lines...) Expand 10 before | Expand all | Expand 10 after
2927 // Initialize descriptor cache. 2927 // Initialize descriptor cache.
2928 isolate_->descriptor_lookup_cache()->Clear(); 2928 isolate_->descriptor_lookup_cache()->Clear();
2929 2929
2930 // Initialize compilation cache. 2930 // Initialize compilation cache.
2931 isolate_->compilation_cache()->Clear(); 2931 isolate_->compilation_cache()->Clear();
2932 } 2932 }
2933 2933
2934 2934
2935 bool Heap::RootCanBeWrittenAfterInitialization(Heap::RootListIndex root_index) { 2935 bool Heap::RootCanBeWrittenAfterInitialization(Heap::RootListIndex root_index) {
2936 switch (root_index) { 2936 switch (root_index) {
2937 case kStoreBufferTopRootIndex:
2938 case kNumberStringCacheRootIndex: 2937 case kNumberStringCacheRootIndex:
2939 case kInstanceofCacheFunctionRootIndex: 2938 case kInstanceofCacheFunctionRootIndex:
2940 case kInstanceofCacheMapRootIndex: 2939 case kInstanceofCacheMapRootIndex:
2941 case kInstanceofCacheAnswerRootIndex: 2940 case kInstanceofCacheAnswerRootIndex:
2942 case kCodeStubsRootIndex: 2941 case kCodeStubsRootIndex:
2943 case kNonMonomorphicCacheRootIndex: 2942 case kNonMonomorphicCacheRootIndex:
2944 case kPolymorphicCodeCacheRootIndex: 2943 case kPolymorphicCodeCacheRootIndex:
2945 case kEmptyScriptRootIndex: 2944 case kEmptyScriptRootIndex:
2946 case kSymbolRegistryRootIndex: 2945 case kSymbolRegistryRootIndex:
2947 case kScriptListRootIndex: 2946 case kScriptListRootIndex:
(...skipping 3524 matching lines...) Expand 10 before | Expand all | Expand 10 after
6472 } 6471 }
6473 6472
6474 6473
6475 // static 6474 // static
6476 int Heap::GetStaticVisitorIdForMap(Map* map) { 6475 int Heap::GetStaticVisitorIdForMap(Map* map) {
6477 return StaticVisitorBase::GetVisitorId(map); 6476 return StaticVisitorBase::GetVisitorId(map);
6478 } 6477 }
6479 6478
6480 } // namespace internal 6479 } // namespace internal
6481 } // namespace v8 6480 } // namespace v8
OLDNEW
« no previous file with comments | « src/heap/heap.h ('k') | src/heap/heap-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698