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 5553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5564 USE(title); | 5564 USE(title); |
5565 PrintF(">>>>>> =============== %s (%d) =============== >>>>>>\n", | 5565 PrintF(">>>>>> =============== %s (%d) =============== >>>>>>\n", |
5566 title, gc_count_); | 5566 title, gc_count_); |
5567 PrintF("old_gen_promotion_limit_ %" V8_PTR_PREFIX "d\n", | 5567 PrintF("old_gen_promotion_limit_ %" V8_PTR_PREFIX "d\n", |
5568 old_gen_promotion_limit_); | 5568 old_gen_promotion_limit_); |
5569 PrintF("old_gen_allocation_limit_ %" V8_PTR_PREFIX "d\n", | 5569 PrintF("old_gen_allocation_limit_ %" V8_PTR_PREFIX "d\n", |
5570 old_gen_allocation_limit_); | 5570 old_gen_allocation_limit_); |
5571 PrintF("old_gen_limit_factor_ %d\n", old_gen_limit_factor_); | 5571 PrintF("old_gen_limit_factor_ %d\n", old_gen_limit_factor_); |
5572 | 5572 |
5573 PrintF("\n"); | 5573 PrintF("\n"); |
5574 PrintF("Number of handles : %d\n", HandleScope::NumberOfHandles()); | 5574 PrintF("Number of handles : %d\n", HandleScope::NumberOfHandles(isolate_)); |
5575 isolate_->global_handles()->PrintStats(); | 5575 isolate_->global_handles()->PrintStats(); |
5576 PrintF("\n"); | 5576 PrintF("\n"); |
5577 | 5577 |
5578 PrintF("Heap statistics : "); | 5578 PrintF("Heap statistics : "); |
5579 isolate_->memory_allocator()->ReportStatistics(); | 5579 isolate_->memory_allocator()->ReportStatistics(); |
5580 PrintF("To space : "); | 5580 PrintF("To space : "); |
5581 new_space_.ReportStatistics(); | 5581 new_space_.ReportStatistics(); |
5582 PrintF("Old pointer space : "); | 5582 PrintF("Old pointer space : "); |
5583 old_pointer_space_->ReportStatistics(); | 5583 old_pointer_space_->ReportStatistics(); |
5584 PrintF("Old data space : "); | 5584 PrintF("Old data space : "); |
(...skipping 1954 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7539 static_cast<int>(object_sizes_last_time_[index])); | 7539 static_cast<int>(object_sizes_last_time_[index])); |
7540 FIXED_ARRAY_SUB_INSTANCE_TYPE_LIST(ADJUST_LAST_TIME_OBJECT_COUNT) | 7540 FIXED_ARRAY_SUB_INSTANCE_TYPE_LIST(ADJUST_LAST_TIME_OBJECT_COUNT) |
7541 #undef ADJUST_LAST_TIME_OBJECT_COUNT | 7541 #undef ADJUST_LAST_TIME_OBJECT_COUNT |
7542 | 7542 |
7543 memcpy(object_counts_last_time_, object_counts_, sizeof(object_counts_)); | 7543 memcpy(object_counts_last_time_, object_counts_, sizeof(object_counts_)); |
7544 memcpy(object_sizes_last_time_, object_sizes_, sizeof(object_sizes_)); | 7544 memcpy(object_sizes_last_time_, object_sizes_, sizeof(object_sizes_)); |
7545 ClearObjectStats(); | 7545 ClearObjectStats(); |
7546 } | 7546 } |
7547 | 7547 |
7548 } } // namespace v8::internal | 7548 } } // namespace v8::internal |
OLD | NEW |