OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 GCTracer* Heap::tracer_ = NULL; | 121 GCTracer* Heap::tracer_ = NULL; |
122 | 122 |
123 int Heap::unflattened_strings_length_ = 0; | 123 int Heap::unflattened_strings_length_ = 0; |
124 | 124 |
125 int Heap::always_allocate_scope_depth_ = 0; | 125 int Heap::always_allocate_scope_depth_ = 0; |
126 int Heap::linear_allocation_scope_depth_ = 0; | 126 int Heap::linear_allocation_scope_depth_ = 0; |
127 int Heap::contexts_disposed_ = 0; | 127 int Heap::contexts_disposed_ = 0; |
128 | 128 |
129 int Heap::young_survivors_after_last_gc_ = 0; | 129 int Heap::young_survivors_after_last_gc_ = 0; |
130 int Heap::high_survival_rate_period_length_ = 0; | 130 int Heap::high_survival_rate_period_length_ = 0; |
131 int Heap::survival_rate_ = 0; | 131 double Heap::survival_rate_ = 0; |
132 Heap::SurvivalRateTrend Heap::previous_survival_rate_trend_ = Heap::STABLE; | 132 Heap::SurvivalRateTrend Heap::previous_survival_rate_trend_ = Heap::STABLE; |
133 Heap::SurvivalRateTrend Heap::survival_rate_trend_ = Heap::STABLE; | 133 Heap::SurvivalRateTrend Heap::survival_rate_trend_ = Heap::STABLE; |
134 bool Heap::bumped_old_gen_limits_ = false; | 134 bool Heap::bumped_old_gen_limits_ = false; |
135 | 135 |
136 #ifdef DEBUG | 136 #ifdef DEBUG |
137 bool Heap::allocation_allowed_ = true; | 137 bool Heap::allocation_allowed_ = true; |
138 | 138 |
139 int Heap::allocation_timeout_ = 0; | 139 int Heap::allocation_timeout_ = 0; |
140 bool Heap::disallow_allocation_failure_ = false; | 140 bool Heap::disallow_allocation_failure_ = false; |
141 #endif // DEBUG | 141 #endif // DEBUG |
(...skipping 4693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4835 void ExternalStringTable::TearDown() { | 4835 void ExternalStringTable::TearDown() { |
4836 new_space_strings_.Free(); | 4836 new_space_strings_.Free(); |
4837 old_space_strings_.Free(); | 4837 old_space_strings_.Free(); |
4838 } | 4838 } |
4839 | 4839 |
4840 | 4840 |
4841 List<Object*> ExternalStringTable::new_space_strings_; | 4841 List<Object*> ExternalStringTable::new_space_strings_; |
4842 List<Object*> ExternalStringTable::old_space_strings_; | 4842 List<Object*> ExternalStringTable::old_space_strings_; |
4843 | 4843 |
4844 } } // namespace v8::internal | 4844 } } // namespace v8::internal |
OLD | NEW |