OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/heap/gc-tracer.h" | 5 #include "src/heap/gc-tracer.h" |
6 | 6 |
7 #include "src/counters.h" | 7 #include "src/counters.h" |
8 #include "src/heap/heap-inl.h" | 8 #include "src/heap/heap-inl.h" |
9 #include "src/isolate.h" | 9 #include "src/isolate.h" |
10 | 10 |
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
521 "old_new=%.1f " | 521 "old_new=%.1f " |
522 "compaction_ptrs=%.1f " | 522 "compaction_ptrs=%.1f " |
523 "intracompaction_ptrs=%.1f " | 523 "intracompaction_ptrs=%.1f " |
524 "misc_compaction=%.1f " | 524 "misc_compaction=%.1f " |
525 "inc_weak_closure=%.1f " | 525 "inc_weak_closure=%.1f " |
526 "weakcollection_process=%.1f " | 526 "weakcollection_process=%.1f " |
527 "weakcollection_clear=%.1f " | 527 "weakcollection_clear=%.1f " |
528 "weakcollection_abort=%.1f " | 528 "weakcollection_abort=%.1f " |
529 "weakcells=%.1f " | 529 "weakcells=%.1f " |
530 "nonlive_refs=%.1f " | 530 "nonlive_refs=%.1f " |
| 531 "extract_dependent_code=%.1f " |
| 532 "deopt_dependent_code=%.1f " |
531 "steps_count=%d " | 533 "steps_count=%d " |
532 "steps_took=%.1f " | 534 "steps_took=%.1f " |
533 "longest_step=%.1f " | 535 "longest_step=%.1f " |
534 "incremental_marking_throughput=%" V8_PTR_PREFIX | 536 "incremental_marking_throughput=%" V8_PTR_PREFIX |
535 "d " | 537 "d " |
536 "total_size_before=%" V8_PTR_PREFIX | 538 "total_size_before=%" V8_PTR_PREFIX |
537 "d " | 539 "d " |
538 "total_size_after=%" V8_PTR_PREFIX | 540 "total_size_after=%" V8_PTR_PREFIX |
539 "d " | 541 "d " |
540 "holes_size_before=%" V8_PTR_PREFIX | 542 "holes_size_before=%" V8_PTR_PREFIX |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
588 current_.scopes[Scope::MC_UPDATE_OLD_TO_NEW_POINTERS], | 590 current_.scopes[Scope::MC_UPDATE_OLD_TO_NEW_POINTERS], |
589 current_.scopes[Scope::MC_UPDATE_POINTERS_TO_EVACUATED], | 591 current_.scopes[Scope::MC_UPDATE_POINTERS_TO_EVACUATED], |
590 current_.scopes[Scope::MC_UPDATE_POINTERS_BETWEEN_EVACUATED], | 592 current_.scopes[Scope::MC_UPDATE_POINTERS_BETWEEN_EVACUATED], |
591 current_.scopes[Scope::MC_UPDATE_MISC_POINTERS], | 593 current_.scopes[Scope::MC_UPDATE_MISC_POINTERS], |
592 current_.scopes[Scope::MC_INCREMENTAL_FINALIZE], | 594 current_.scopes[Scope::MC_INCREMENTAL_FINALIZE], |
593 current_.scopes[Scope::MC_WEAKCOLLECTION_PROCESS], | 595 current_.scopes[Scope::MC_WEAKCOLLECTION_PROCESS], |
594 current_.scopes[Scope::MC_WEAKCOLLECTION_CLEAR], | 596 current_.scopes[Scope::MC_WEAKCOLLECTION_CLEAR], |
595 current_.scopes[Scope::MC_WEAKCOLLECTION_ABORT], | 597 current_.scopes[Scope::MC_WEAKCOLLECTION_ABORT], |
596 current_.scopes[Scope::MC_WEAKCELL], | 598 current_.scopes[Scope::MC_WEAKCELL], |
597 current_.scopes[Scope::MC_NONLIVEREFERENCES], | 599 current_.scopes[Scope::MC_NONLIVEREFERENCES], |
| 600 current_.scopes[Scope::MC_EXTRACT_DEPENDENT_CODE], |
| 601 current_.scopes[Scope::MC_DEOPT_DEPENDENT_CODE], |
598 current_.incremental_marking_steps, | 602 current_.incremental_marking_steps, |
599 current_.incremental_marking_duration, | 603 current_.incremental_marking_duration, |
600 current_.longest_incremental_marking_step, | 604 current_.longest_incremental_marking_step, |
601 IncrementalMarkingSpeedInBytesPerMillisecond(), | 605 IncrementalMarkingSpeedInBytesPerMillisecond(), |
602 current_.start_object_size, current_.end_object_size, | 606 current_.start_object_size, current_.end_object_size, |
603 current_.start_holes_size, current_.end_holes_size, | 607 current_.start_holes_size, current_.end_holes_size, |
604 allocated_since_last_gc, heap_->promoted_objects_size(), | 608 allocated_since_last_gc, heap_->promoted_objects_size(), |
605 heap_->semi_space_copied_object_size(), | 609 heap_->semi_space_copied_object_size(), |
606 heap_->nodes_died_in_new_space_, | 610 heap_->nodes_died_in_new_space_, |
607 heap_->nodes_copied_in_new_space_, heap_->nodes_promoted_, | 611 heap_->nodes_copied_in_new_space_, heap_->nodes_promoted_, |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
892 | 896 |
893 | 897 |
894 bool GCTracer::SurvivalEventsRecorded() const { | 898 bool GCTracer::SurvivalEventsRecorded() const { |
895 return survival_events_.size() > 0; | 899 return survival_events_.size() > 0; |
896 } | 900 } |
897 | 901 |
898 | 902 |
899 void GCTracer::ResetSurvivalEvents() { survival_events_.reset(); } | 903 void GCTracer::ResetSurvivalEvents() { survival_events_.reset(); } |
900 } // namespace internal | 904 } // namespace internal |
901 } // namespace v8 | 905 } // namespace v8 |
OLD | NEW |