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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 "mark_stringtable=%.1f " | 484 "mark_stringtable=%.1f " |
485 "mark_weakrefs=%.1f " | 485 "mark_weakrefs=%.1f " |
486 "mark_globalhandles=%.1f " | 486 "mark_globalhandles=%.1f " |
487 "mark_codeflush=%.1f " | 487 "mark_codeflush=%.1f " |
488 "sweep=%.2f " | 488 "sweep=%.2f " |
489 "sweepns=%.2f " | 489 "sweepns=%.2f " |
490 "sweepos=%.2f " | 490 "sweepos=%.2f " |
491 "sweepcode=%.2f " | 491 "sweepcode=%.2f " |
492 "sweepcell=%.2f " | 492 "sweepcell=%.2f " |
493 "sweepmap=%.2f " | 493 "sweepmap=%.2f " |
| 494 "sweepaborted=%.2f " |
494 "evacuate=%.1f " | 495 "evacuate=%.1f " |
495 "new_new=%.1f " | 496 "new_new=%.1f " |
496 "root_new=%.1f " | 497 "root_new=%.1f " |
497 "old_new=%.1f " | 498 "old_new=%.1f " |
498 "compaction_ptrs=%.1f " | 499 "compaction_ptrs=%.1f " |
499 "intracompaction_ptrs=%.1f " | 500 "intracompaction_ptrs=%.1f " |
500 "misc_compaction=%.1f " | 501 "misc_compaction=%.1f " |
501 "weak_closure=%.1f " | 502 "weak_closure=%.1f " |
502 "inc_weak_closure=%.1f " | 503 "inc_weak_closure=%.1f " |
503 "weakcollection_process=%.1f " | 504 "weakcollection_process=%.1f " |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
547 current_.scopes[Scope::MC_MARK_STRING_TABLE], | 548 current_.scopes[Scope::MC_MARK_STRING_TABLE], |
548 current_.scopes[Scope::MC_MARK_WEAK_REFERENCES], | 549 current_.scopes[Scope::MC_MARK_WEAK_REFERENCES], |
549 current_.scopes[Scope::MC_MARK_GLOBAL_HANDLES], | 550 current_.scopes[Scope::MC_MARK_GLOBAL_HANDLES], |
550 current_.scopes[Scope::MC_MARK_CODE_FLUSH], | 551 current_.scopes[Scope::MC_MARK_CODE_FLUSH], |
551 current_.scopes[Scope::MC_SWEEP], | 552 current_.scopes[Scope::MC_SWEEP], |
552 current_.scopes[Scope::MC_SWEEP_NEWSPACE], | 553 current_.scopes[Scope::MC_SWEEP_NEWSPACE], |
553 current_.scopes[Scope::MC_SWEEP_OLDSPACE], | 554 current_.scopes[Scope::MC_SWEEP_OLDSPACE], |
554 current_.scopes[Scope::MC_SWEEP_CODE], | 555 current_.scopes[Scope::MC_SWEEP_CODE], |
555 current_.scopes[Scope::MC_SWEEP_CELL], | 556 current_.scopes[Scope::MC_SWEEP_CELL], |
556 current_.scopes[Scope::MC_SWEEP_MAP], | 557 current_.scopes[Scope::MC_SWEEP_MAP], |
| 558 current_.scopes[Scope::MC_SWEEP_ABORTED], |
557 current_.scopes[Scope::MC_EVACUATE_PAGES], | 559 current_.scopes[Scope::MC_EVACUATE_PAGES], |
558 current_.scopes[Scope::MC_UPDATE_NEW_TO_NEW_POINTERS], | 560 current_.scopes[Scope::MC_UPDATE_NEW_TO_NEW_POINTERS], |
559 current_.scopes[Scope::MC_UPDATE_ROOT_TO_NEW_POINTERS], | 561 current_.scopes[Scope::MC_UPDATE_ROOT_TO_NEW_POINTERS], |
560 current_.scopes[Scope::MC_UPDATE_OLD_TO_NEW_POINTERS], | 562 current_.scopes[Scope::MC_UPDATE_OLD_TO_NEW_POINTERS], |
561 current_.scopes[Scope::MC_UPDATE_POINTERS_TO_EVACUATED], | 563 current_.scopes[Scope::MC_UPDATE_POINTERS_TO_EVACUATED], |
562 current_.scopes[Scope::MC_UPDATE_POINTERS_BETWEEN_EVACUATED], | 564 current_.scopes[Scope::MC_UPDATE_POINTERS_BETWEEN_EVACUATED], |
563 current_.scopes[Scope::MC_UPDATE_MISC_POINTERS], | 565 current_.scopes[Scope::MC_UPDATE_MISC_POINTERS], |
564 current_.scopes[Scope::MC_WEAKCLOSURE], | 566 current_.scopes[Scope::MC_WEAKCLOSURE], |
565 current_.scopes[Scope::MC_INCREMENTAL_WEAKCLOSURE], | 567 current_.scopes[Scope::MC_INCREMENTAL_WEAKCLOSURE], |
566 current_.scopes[Scope::MC_WEAKCOLLECTION_PROCESS], | 568 current_.scopes[Scope::MC_WEAKCOLLECTION_PROCESS], |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
847 | 849 |
848 | 850 |
849 bool GCTracer::SurvivalEventsRecorded() const { | 851 bool GCTracer::SurvivalEventsRecorded() const { |
850 return survival_events_.size() > 0; | 852 return survival_events_.size() > 0; |
851 } | 853 } |
852 | 854 |
853 | 855 |
854 void GCTracer::ResetSurvivalEvents() { survival_events_.reset(); } | 856 void GCTracer::ResetSurvivalEvents() { survival_events_.reset(); } |
855 } // namespace internal | 857 } // namespace internal |
856 } // namespace v8 | 858 } // namespace v8 |
OLD | NEW |