| 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 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 494 "sweepcell=%.2f " | 494 "sweepcell=%.2f " |
| 495 "sweepmap=%.2f " | 495 "sweepmap=%.2f " |
| 496 "sweepaborted=%.2f " | 496 "sweepaborted=%.2f " |
| 497 "evacuate=%.1f " | 497 "evacuate=%.1f " |
| 498 "new_new=%.1f " | 498 "new_new=%.1f " |
| 499 "root_new=%.1f " | 499 "root_new=%.1f " |
| 500 "old_new=%.1f " | 500 "old_new=%.1f " |
| 501 "compaction_ptrs=%.1f " | 501 "compaction_ptrs=%.1f " |
| 502 "intracompaction_ptrs=%.1f " | 502 "intracompaction_ptrs=%.1f " |
| 503 "misc_compaction=%.1f " | 503 "misc_compaction=%.1f " |
| 504 "weak_closure=%.1f " | |
| 505 "inc_weak_closure=%.1f " | 504 "inc_weak_closure=%.1f " |
| 506 "weakcollection_process=%.1f " | 505 "weakcollection_process=%.1f " |
| 507 "weakcollection_clear=%.1f " | 506 "weakcollection_clear=%.1f " |
| 508 "weakcollection_abort=%.1f " | 507 "weakcollection_abort=%.1f " |
| 509 "weakcells=%.1f " | 508 "weakcells=%.1f " |
| 510 "nonlive_refs=%.1f " | 509 "nonlive_refs=%.1f " |
| 511 "steps_count=%d " | 510 "steps_count=%d " |
| 512 "steps_took=%.1f " | 511 "steps_took=%.1f " |
| 513 "longest_step=%.1f " | 512 "longest_step=%.1f " |
| 514 "incremental_marking_throughput=%" V8_PTR_PREFIX | 513 "incremental_marking_throughput=%" V8_PTR_PREFIX |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 560 current_.scopes[Scope::MC_SWEEP_CELL], | 559 current_.scopes[Scope::MC_SWEEP_CELL], |
| 561 current_.scopes[Scope::MC_SWEEP_MAP], | 560 current_.scopes[Scope::MC_SWEEP_MAP], |
| 562 current_.scopes[Scope::MC_SWEEP_ABORTED], | 561 current_.scopes[Scope::MC_SWEEP_ABORTED], |
| 563 current_.scopes[Scope::MC_EVACUATE_PAGES], | 562 current_.scopes[Scope::MC_EVACUATE_PAGES], |
| 564 current_.scopes[Scope::MC_UPDATE_NEW_TO_NEW_POINTERS], | 563 current_.scopes[Scope::MC_UPDATE_NEW_TO_NEW_POINTERS], |
| 565 current_.scopes[Scope::MC_UPDATE_ROOT_TO_NEW_POINTERS], | 564 current_.scopes[Scope::MC_UPDATE_ROOT_TO_NEW_POINTERS], |
| 566 current_.scopes[Scope::MC_UPDATE_OLD_TO_NEW_POINTERS], | 565 current_.scopes[Scope::MC_UPDATE_OLD_TO_NEW_POINTERS], |
| 567 current_.scopes[Scope::MC_UPDATE_POINTERS_TO_EVACUATED], | 566 current_.scopes[Scope::MC_UPDATE_POINTERS_TO_EVACUATED], |
| 568 current_.scopes[Scope::MC_UPDATE_POINTERS_BETWEEN_EVACUATED], | 567 current_.scopes[Scope::MC_UPDATE_POINTERS_BETWEEN_EVACUATED], |
| 569 current_.scopes[Scope::MC_UPDATE_MISC_POINTERS], | 568 current_.scopes[Scope::MC_UPDATE_MISC_POINTERS], |
| 570 current_.scopes[Scope::MC_WEAKCLOSURE], | 569 current_.scopes[Scope::MC_INCREMENTAL_FINALIZE], |
| 571 current_.scopes[Scope::MC_INCREMENTAL_WEAKCLOSURE], | |
| 572 current_.scopes[Scope::MC_WEAKCOLLECTION_PROCESS], | 570 current_.scopes[Scope::MC_WEAKCOLLECTION_PROCESS], |
| 573 current_.scopes[Scope::MC_WEAKCOLLECTION_CLEAR], | 571 current_.scopes[Scope::MC_WEAKCOLLECTION_CLEAR], |
| 574 current_.scopes[Scope::MC_WEAKCOLLECTION_ABORT], | 572 current_.scopes[Scope::MC_WEAKCOLLECTION_ABORT], |
| 575 current_.scopes[Scope::MC_WEAKCELL], | 573 current_.scopes[Scope::MC_WEAKCELL], |
| 576 current_.scopes[Scope::MC_NONLIVEREFERENCES], | 574 current_.scopes[Scope::MC_NONLIVEREFERENCES], |
| 577 current_.incremental_marking_steps, | 575 current_.incremental_marking_steps, |
| 578 current_.incremental_marking_duration, | 576 current_.incremental_marking_duration, |
| 579 current_.longest_incremental_marking_step, | 577 current_.longest_incremental_marking_step, |
| 580 IncrementalMarkingSpeedInBytesPerMillisecond(), | 578 IncrementalMarkingSpeedInBytesPerMillisecond(), |
| 581 current_.start_object_size, current_.end_object_size, | 579 current_.start_object_size, current_.end_object_size, |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 853 | 851 |
| 854 | 852 |
| 855 bool GCTracer::SurvivalEventsRecorded() const { | 853 bool GCTracer::SurvivalEventsRecorded() const { |
| 856 return survival_events_.size() > 0; | 854 return survival_events_.size() > 0; |
| 857 } | 855 } |
| 858 | 856 |
| 859 | 857 |
| 860 void GCTracer::ResetSurvivalEvents() { survival_events_.reset(); } | 858 void GCTracer::ResetSurvivalEvents() { survival_events_.reset(); } |
| 861 } // namespace internal | 859 } // namespace internal |
| 862 } // namespace v8 | 860 } // namespace v8 |
| OLD | NEW |