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

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

Issue 1267493006: Remove JSFunctionResultCache. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 5 years, 4 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-snapshot-generator.cc ('k') | src/heap/heap.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 #ifndef V8_HEAP_HEAP_H_ 5 #ifndef V8_HEAP_HEAP_H_
6 #define V8_HEAP_HEAP_H_ 6 #define V8_HEAP_HEAP_H_
7 7
8 #include <cmath> 8 #include <cmath>
9 #include <map> 9 #include <map>
10 10
(...skipping 1323 matching lines...) Expand 10 before | Expand all | Expand 10 after
1334 1334
1335 void ProcessAllWeakReferences(WeakObjectRetainer* retainer); 1335 void ProcessAllWeakReferences(WeakObjectRetainer* retainer);
1336 void ProcessYoungWeakReferences(WeakObjectRetainer* retainer); 1336 void ProcessYoungWeakReferences(WeakObjectRetainer* retainer);
1337 1337
1338 void VisitExternalResources(v8::ExternalResourceVisitor* visitor); 1338 void VisitExternalResources(v8::ExternalResourceVisitor* visitor);
1339 1339
1340 // An object should be promoted if the object has survived a 1340 // An object should be promoted if the object has survived a
1341 // scavenge operation. 1341 // scavenge operation.
1342 inline bool ShouldBePromoted(Address old_address, int object_size); 1342 inline bool ShouldBePromoted(Address old_address, int object_size);
1343 1343
1344 void ClearJSFunctionResultCaches();
1345
1346 void ClearNormalizedMapCaches(); 1344 void ClearNormalizedMapCaches();
1347 1345
1348 GCTracer* tracer() { return &tracer_; } 1346 GCTracer* tracer() { return &tracer_; }
1349 1347
1350 // Returns the size of objects residing in non new spaces. 1348 // Returns the size of objects residing in non new spaces.
1351 intptr_t PromotedSpaceSizeOfObjects(); 1349 intptr_t PromotedSpaceSizeOfObjects();
1352 1350
1353 double total_regexp_code_generated() { return total_regexp_code_generated_; } 1351 double total_regexp_code_generated() { return total_regexp_code_generated_; }
1354 void IncreaseTotalRegexpCodeGenerated(int size) { 1352 void IncreaseTotalRegexpCodeGenerated(int size) {
1355 total_regexp_code_generated_ += size; 1353 total_regexp_code_generated_ += size;
(...skipping 1531 matching lines...) Expand 10 before | Expand all | Expand 10 after
2887 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2885 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2888 2886
2889 private: 2887 private:
2890 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2888 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2891 }; 2889 };
2892 #endif // DEBUG 2890 #endif // DEBUG
2893 } 2891 }
2894 } // namespace v8::internal 2892 } // namespace v8::internal
2895 2893
2896 #endif // V8_HEAP_HEAP_H_ 2894 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/heap-snapshot-generator.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698