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

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

Issue 1772803002: Avoid redundant weak pointer updates after evacuation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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 | « no previous file | 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 1657 matching lines...) Expand 10 before | Expand all | Expand 10 after
1668 void UpdateNewSpaceReferencesInExternalStringTable( 1668 void UpdateNewSpaceReferencesInExternalStringTable(
1669 ExternalStringTableUpdaterCallback updater_func); 1669 ExternalStringTableUpdaterCallback updater_func);
1670 1670
1671 void UpdateReferencesInExternalStringTable( 1671 void UpdateReferencesInExternalStringTable(
1672 ExternalStringTableUpdaterCallback updater_func); 1672 ExternalStringTableUpdaterCallback updater_func);
1673 1673
1674 void ProcessAllWeakReferences(WeakObjectRetainer* retainer); 1674 void ProcessAllWeakReferences(WeakObjectRetainer* retainer);
1675 void ProcessYoungWeakReferences(WeakObjectRetainer* retainer); 1675 void ProcessYoungWeakReferences(WeakObjectRetainer* retainer);
1676 void ProcessNativeContexts(WeakObjectRetainer* retainer); 1676 void ProcessNativeContexts(WeakObjectRetainer* retainer);
1677 void ProcessAllocationSites(WeakObjectRetainer* retainer); 1677 void ProcessAllocationSites(WeakObjectRetainer* retainer);
1678 void ProcessWeakListRoots(WeakObjectRetainer* retainer);
1678 1679
1679 // =========================================================================== 1680 // ===========================================================================
1680 // GC statistics. ============================================================ 1681 // GC statistics. ============================================================
1681 // =========================================================================== 1682 // ===========================================================================
1682 1683
1683 inline intptr_t OldGenerationSpaceAvailable() { 1684 inline intptr_t OldGenerationSpaceAvailable() {
1684 return old_generation_allocation_limit_ - PromotedTotalSize(); 1685 return old_generation_allocation_limit_ - PromotedTotalSize();
1685 } 1686 }
1686 1687
1687 // Returns maximum GC pause. 1688 // Returns maximum GC pause.
(...skipping 936 matching lines...) Expand 10 before | Expand all | Expand 10 after
2624 friend class LargeObjectSpace; 2625 friend class LargeObjectSpace;
2625 friend class NewSpace; 2626 friend class NewSpace;
2626 friend class PagedSpace; 2627 friend class PagedSpace;
2627 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); 2628 DISALLOW_COPY_AND_ASSIGN(AllocationObserver);
2628 }; 2629 };
2629 2630
2630 } // namespace internal 2631 } // namespace internal
2631 } // namespace v8 2632 } // namespace v8
2632 2633
2633 #endif // V8_HEAP_HEAP_H_ 2634 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698