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

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

Issue 694713004: Version 3.29.88.11 (merged r24851) (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.29
Patch Set: Created 6 years, 1 month 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 | Annotate | Revision Log
« 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 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 1908 matching lines...) Expand 10 before | Expand all | Expand 10 after
1919 // the code that belongs to the allocation site and derive the lifetime 1919 // the code that belongs to the allocation site and derive the lifetime
1920 // of the allocation site. 1920 // of the allocation site.
1921 unsigned int maximum_size_scavenges_; 1921 unsigned int maximum_size_scavenges_;
1922 1922
1923 // TODO(hpayer): Allocation site pretenuring may make this method obsolete. 1923 // TODO(hpayer): Allocation site pretenuring may make this method obsolete.
1924 // Re-visit incremental marking heuristics. 1924 // Re-visit incremental marking heuristics.
1925 bool IsHighSurvivalRate() { return high_survival_rate_period_length_ > 0; } 1925 bool IsHighSurvivalRate() { return high_survival_rate_period_length_ > 0; }
1926 1926
1927 void SelectScavengingVisitorsTable(); 1927 void SelectScavengingVisitorsTable();
1928 1928
1929 void IdleMarkCompact(const char* message);
1930
1929 void AdvanceIdleIncrementalMarking(intptr_t step_size); 1931 void AdvanceIdleIncrementalMarking(intptr_t step_size);
1930 1932
1931 bool WorthActivatingIncrementalMarking(); 1933 bool WorthActivatingIncrementalMarking();
1932 1934
1933 void ClearObjectStats(bool clear_last_time_stats = false); 1935 void ClearObjectStats(bool clear_last_time_stats = false);
1934 1936
1935 void set_weak_object_to_code_table(Object* value) { 1937 void set_weak_object_to_code_table(Object* value) {
1936 DCHECK(!InNewSpace(value)); 1938 DCHECK(!InNewSpace(value));
1937 weak_object_to_code_table_ = value; 1939 weak_object_to_code_table_ = value;
1938 } 1940 }
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
2492 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2494 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2493 2495
2494 private: 2496 private:
2495 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2497 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2496 }; 2498 };
2497 #endif // DEBUG 2499 #endif // DEBUG
2498 } 2500 }
2499 } // namespace v8::internal 2501 } // namespace v8::internal
2500 2502
2501 #endif // V8_HEAP_HEAP_H_ 2503 #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