OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 old_gen_exhausted_(false), | 130 old_gen_exhausted_(false), |
131 store_buffer_rebuilder_(store_buffer()), | 131 store_buffer_rebuilder_(store_buffer()), |
132 hidden_symbol_(NULL), | 132 hidden_symbol_(NULL), |
133 global_gc_prologue_callback_(NULL), | 133 global_gc_prologue_callback_(NULL), |
134 global_gc_epilogue_callback_(NULL), | 134 global_gc_epilogue_callback_(NULL), |
135 gc_safe_size_of_old_object_(NULL), | 135 gc_safe_size_of_old_object_(NULL), |
136 total_regexp_code_generated_(0), | 136 total_regexp_code_generated_(0), |
137 tracer_(NULL), | 137 tracer_(NULL), |
138 young_survivors_after_last_gc_(0), | 138 young_survivors_after_last_gc_(0), |
139 high_survival_rate_period_length_(0), | 139 high_survival_rate_period_length_(0), |
| 140 low_survival_rate_period_length_(0), |
140 survival_rate_(0), | 141 survival_rate_(0), |
141 previous_survival_rate_trend_(Heap::STABLE), | 142 previous_survival_rate_trend_(Heap::STABLE), |
142 survival_rate_trend_(Heap::STABLE), | 143 survival_rate_trend_(Heap::STABLE), |
143 max_gc_pause_(0), | 144 max_gc_pause_(0), |
144 total_gc_time_ms_(0), | 145 total_gc_time_ms_(0), |
145 max_alive_after_gc_(0), | 146 max_alive_after_gc_(0), |
146 min_in_mutator_(kMaxInt), | 147 min_in_mutator_(kMaxInt), |
147 alive_after_last_gc_(0), | 148 alive_after_last_gc_(0), |
148 last_gc_end_timestamp_(0.0), | 149 last_gc_end_timestamp_(0.0), |
149 store_buffer_(this), | 150 store_buffer_(this), |
(...skipping 7329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7479 static_cast<int>(object_sizes_last_time_[index])); | 7480 static_cast<int>(object_sizes_last_time_[index])); |
7480 FIXED_ARRAY_SUB_INSTANCE_TYPE_LIST(ADJUST_LAST_TIME_OBJECT_COUNT) | 7481 FIXED_ARRAY_SUB_INSTANCE_TYPE_LIST(ADJUST_LAST_TIME_OBJECT_COUNT) |
7481 #undef ADJUST_LAST_TIME_OBJECT_COUNT | 7482 #undef ADJUST_LAST_TIME_OBJECT_COUNT |
7482 | 7483 |
7483 memcpy(object_counts_last_time_, object_counts_, sizeof(object_counts_)); | 7484 memcpy(object_counts_last_time_, object_counts_, sizeof(object_counts_)); |
7484 memcpy(object_sizes_last_time_, object_sizes_, sizeof(object_sizes_)); | 7485 memcpy(object_sizes_last_time_, object_sizes_, sizeof(object_sizes_)); |
7485 ClearObjectStats(); | 7486 ClearObjectStats(); |
7486 } | 7487 } |
7487 | 7488 |
7488 } } // namespace v8::internal | 7489 } } // namespace v8::internal |
OLD | NEW |