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 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
560 "external.mc_epilogue=%.1f " | 560 "external.mc_epilogue=%.1f " |
561 "external.mc_incremental_prologue=%.1f " | 561 "external.mc_incremental_prologue=%.1f " |
562 "external.mc_incremental_epilogue=%.1f " | 562 "external.mc_incremental_epilogue=%.1f " |
563 "external.weak_global_handles=%.1f " | 563 "external.weak_global_handles=%.1f " |
564 "finish=%.1f " | 564 "finish=%.1f " |
565 "mark=%.1f " | 565 "mark=%.1f " |
566 "mark.finish_incremental=%.1f " | 566 "mark.finish_incremental=%.1f " |
567 "mark.prepare_code_flush=%.1f " | 567 "mark.prepare_code_flush=%.1f " |
568 "mark.roots=%.1f " | 568 "mark.roots=%.1f " |
569 "mark.weak_closure=%.1f " | 569 "mark.weak_closure=%.1f " |
| 570 "mark.weak_closure.ephemeral=%.1f " |
| 571 "mark.weak_closure.weak_handles=%.1f " |
| 572 "mark.weak_closure.weak_roots=%.1f " |
| 573 "mark.weak_closure.harmony=%.1f " |
570 "sweep=%.1f " | 574 "sweep=%.1f " |
571 "sweep.code=%.1f " | 575 "sweep.code=%.1f " |
572 "sweep.map=%.1f " | 576 "sweep.map=%.1f " |
573 "sweep.old=%.1f " | 577 "sweep.old=%.1f " |
574 "incremental_finalize=%.1f " | 578 "incremental_finalize=%.1f " |
575 "steps_count=%d " | 579 "steps_count=%d " |
576 "steps_took=%.1f " | 580 "steps_took=%.1f " |
577 "longest_step=%.1f " | 581 "longest_step=%.1f " |
578 "finalization_steps_count=%d " | 582 "finalization_steps_count=%d " |
579 "finalization_steps_took=%.1f " | 583 "finalization_steps_took=%.1f " |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
630 current_.scopes[Scope::MC_EXTERNAL_PROLOGUE], | 634 current_.scopes[Scope::MC_EXTERNAL_PROLOGUE], |
631 current_.scopes[Scope::MC_EXTERNAL_EPILOGUE], | 635 current_.scopes[Scope::MC_EXTERNAL_EPILOGUE], |
632 current_.scopes[Scope::MC_INCREMENTAL_EXTERNAL_PROLOGUE], | 636 current_.scopes[Scope::MC_INCREMENTAL_EXTERNAL_PROLOGUE], |
633 current_.scopes[Scope::MC_INCREMENTAL_EXTERNAL_EPILOGUE], | 637 current_.scopes[Scope::MC_INCREMENTAL_EXTERNAL_EPILOGUE], |
634 current_.scopes[Scope::EXTERNAL_WEAK_GLOBAL_HANDLES], | 638 current_.scopes[Scope::EXTERNAL_WEAK_GLOBAL_HANDLES], |
635 current_.scopes[Scope::MC_FINISH], current_.scopes[Scope::MC_MARK], | 639 current_.scopes[Scope::MC_FINISH], current_.scopes[Scope::MC_MARK], |
636 current_.scopes[Scope::MC_MARK_FINISH_INCREMENTAL], | 640 current_.scopes[Scope::MC_MARK_FINISH_INCREMENTAL], |
637 current_.scopes[Scope::MC_MARK_PREPARE_CODE_FLUSH], | 641 current_.scopes[Scope::MC_MARK_PREPARE_CODE_FLUSH], |
638 current_.scopes[Scope::MC_MARK_ROOTS], | 642 current_.scopes[Scope::MC_MARK_ROOTS], |
639 current_.scopes[Scope::MC_MARK_WEAK_CLOSURE], | 643 current_.scopes[Scope::MC_MARK_WEAK_CLOSURE], |
| 644 current_.scopes[Scope::MC_MARK_WEAK_CLOSURE_EPHEMERAL], |
| 645 current_.scopes[Scope::MC_MARK_WEAK_CLOSURE_WEAK_HANDLES], |
| 646 current_.scopes[Scope::MC_MARK_WEAK_CLOSURE_WEAK_ROOTS], |
| 647 current_.scopes[Scope::MC_MARK_WEAK_CLOSURE_HARMONY], |
640 current_.scopes[Scope::MC_SWEEP], | 648 current_.scopes[Scope::MC_SWEEP], |
641 current_.scopes[Scope::MC_SWEEP_CODE], | 649 current_.scopes[Scope::MC_SWEEP_CODE], |
642 current_.scopes[Scope::MC_SWEEP_MAP], | 650 current_.scopes[Scope::MC_SWEEP_MAP], |
643 current_.scopes[Scope::MC_SWEEP_OLD], | 651 current_.scopes[Scope::MC_SWEEP_OLD], |
644 current_.scopes[Scope::MC_INCREMENTAL_FINALIZE], | 652 current_.scopes[Scope::MC_INCREMENTAL_FINALIZE], |
645 current_.incremental_marking_steps, | 653 current_.incremental_marking_steps, |
646 current_.incremental_marking_duration, | 654 current_.incremental_marking_duration, |
647 current_.longest_incremental_marking_step, | 655 current_.longest_incremental_marking_step, |
648 cumulative_incremental_marking_finalization_steps_, | 656 cumulative_incremental_marking_finalization_steps_, |
649 cumulative_incremental_marking_finalization_duration_, | 657 cumulative_incremental_marking_finalization_duration_, |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
902 | 910 |
903 | 911 |
904 bool GCTracer::SurvivalEventsRecorded() const { | 912 bool GCTracer::SurvivalEventsRecorded() const { |
905 return survival_events_.size() > 0; | 913 return survival_events_.size() > 0; |
906 } | 914 } |
907 | 915 |
908 | 916 |
909 void GCTracer::ResetSurvivalEvents() { survival_events_.reset(); } | 917 void GCTracer::ResetSurvivalEvents() { survival_events_.reset(); } |
910 } // namespace internal | 918 } // namespace internal |
911 } // namespace v8 | 919 } // namespace v8 |
OLD | NEW |