OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 intptr_t Heap::external_allocation_limit_ = 0; | 131 intptr_t Heap::external_allocation_limit_ = 0; |
132 | 132 |
133 Heap::HeapState Heap::gc_state_ = NOT_IN_GC; | 133 Heap::HeapState Heap::gc_state_ = NOT_IN_GC; |
134 | 134 |
135 int Heap::mc_count_ = 0; | 135 int Heap::mc_count_ = 0; |
136 int Heap::ms_count_ = 0; | 136 int Heap::ms_count_ = 0; |
137 unsigned int Heap::gc_count_ = 0; | 137 unsigned int Heap::gc_count_ = 0; |
138 | 138 |
139 GCTracer* Heap::tracer_ = NULL; | 139 GCTracer* Heap::tracer_ = NULL; |
140 | 140 |
141 const int Heap::kArgumentsObjectSize; | |
142 const int Heap::kArgumentsObjectSizeStrict; | |
143 | |
144 int Heap::unflattened_strings_length_ = 0; | 141 int Heap::unflattened_strings_length_ = 0; |
145 | 142 |
146 int Heap::always_allocate_scope_depth_ = 0; | 143 int Heap::always_allocate_scope_depth_ = 0; |
147 int Heap::linear_allocation_scope_depth_ = 0; | 144 int Heap::linear_allocation_scope_depth_ = 0; |
148 int Heap::contexts_disposed_ = 0; | 145 int Heap::contexts_disposed_ = 0; |
149 | 146 |
150 int Heap::young_survivors_after_last_gc_ = 0; | 147 int Heap::young_survivors_after_last_gc_ = 0; |
151 int Heap::high_survival_rate_period_length_ = 0; | 148 int Heap::high_survival_rate_period_length_ = 0; |
152 double Heap::survival_rate_ = 0; | 149 double Heap::survival_rate_ = 0; |
153 Heap::SurvivalRateTrend Heap::previous_survival_rate_trend_ = Heap::STABLE; | 150 Heap::SurvivalRateTrend Heap::previous_survival_rate_trend_ = Heap::STABLE; |
(...skipping 5422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5576 void ExternalStringTable::TearDown() { | 5573 void ExternalStringTable::TearDown() { |
5577 new_space_strings_.Free(); | 5574 new_space_strings_.Free(); |
5578 old_space_strings_.Free(); | 5575 old_space_strings_.Free(); |
5579 } | 5576 } |
5580 | 5577 |
5581 | 5578 |
5582 List<Object*> ExternalStringTable::new_space_strings_; | 5579 List<Object*> ExternalStringTable::new_space_strings_; |
5583 List<Object*> ExternalStringTable::old_space_strings_; | 5580 List<Object*> ExternalStringTable::old_space_strings_; |
5584 | 5581 |
5585 } } // namespace v8::internal | 5582 } } // namespace v8::internal |
OLD | NEW |