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

Side by Side Diff: src/heap.cc

Issue 6824078: Move most of the incremental marking write barrier to generated code. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: '' Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 int Heap::ms_count_ = 0; 139 int Heap::ms_count_ = 0;
140 unsigned int Heap::gc_count_ = 0; 140 unsigned int Heap::gc_count_ = 0;
141 141
142 GCTracer* Heap::tracer_ = NULL; 142 GCTracer* Heap::tracer_ = NULL;
143 143
144 int Heap::unflattened_strings_length_ = 0; 144 int Heap::unflattened_strings_length_ = 0;
145 145
146 int Heap::always_allocate_scope_depth_ = 0; 146 int Heap::always_allocate_scope_depth_ = 0;
147 int Heap::linear_allocation_scope_depth_ = 0; 147 int Heap::linear_allocation_scope_depth_ = 0;
148 int Heap::contexts_disposed_ = 0; 148 int Heap::contexts_disposed_ = 0;
149 int Heap::scan_on_scavenge_pages_ = 0;
149 150
150 int Heap::young_survivors_after_last_gc_ = 0; 151 int Heap::young_survivors_after_last_gc_ = 0;
151 int Heap::high_survival_rate_period_length_ = 0; 152 int Heap::high_survival_rate_period_length_ = 0;
152 double Heap::survival_rate_ = 0; 153 double Heap::survival_rate_ = 0;
153 Heap::SurvivalRateTrend Heap::previous_survival_rate_trend_ = Heap::STABLE; 154 Heap::SurvivalRateTrend Heap::previous_survival_rate_trend_ = Heap::STABLE;
154 Heap::SurvivalRateTrend Heap::survival_rate_trend_ = Heap::STABLE; 155 Heap::SurvivalRateTrend Heap::survival_rate_trend_ = Heap::STABLE;
155 156
156 #ifdef DEBUG 157 #ifdef DEBUG
157 bool Heap::allocation_allowed_ = true; 158 bool Heap::allocation_allowed_ = true;
158 159
(...skipping 5514 matching lines...) Expand 10 before | Expand all | Expand 10 after
5673 void ExternalStringTable::TearDown() { 5674 void ExternalStringTable::TearDown() {
5674 new_space_strings_.Free(); 5675 new_space_strings_.Free();
5675 old_space_strings_.Free(); 5676 old_space_strings_.Free();
5676 } 5677 }
5677 5678
5678 5679
5679 List<Object*> ExternalStringTable::new_space_strings_; 5680 List<Object*> ExternalStringTable::new_space_strings_;
5680 List<Object*> ExternalStringTable::old_space_strings_; 5681 List<Object*> ExternalStringTable::old_space_strings_;
5681 5682
5682 } } // namespace v8::internal 5683 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/heap.h ('k') | src/hydrogen-instructions.h » ('j') | src/ia32/code-stubs-ia32.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698