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 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
498 "mark_inc=%.1f " | 498 "mark_inc=%.1f " |
499 "mark_prepcodeflush=%.1f " | 499 "mark_prepcodeflush=%.1f " |
500 "mark_root=%.1f " | 500 "mark_root=%.1f " |
501 "mark_topopt=%.1f " | 501 "mark_topopt=%.1f " |
502 "mark_retainmaps=%.1f " | 502 "mark_retainmaps=%.1f " |
503 "mark_weakclosure=%.1f " | 503 "mark_weakclosure=%.1f " |
504 "mark_stringtable=%.1f " | 504 "mark_stringtable=%.1f " |
505 "mark_weakrefs=%.1f " | 505 "mark_weakrefs=%.1f " |
506 "mark_globalhandles=%.1f " | 506 "mark_globalhandles=%.1f " |
507 "mark_codeflush=%.1f " | 507 "mark_codeflush=%.1f " |
| 508 "mark_optimizedcodemaps=%.1f " |
508 "store_buffer_clear=%.1f " | 509 "store_buffer_clear=%.1f " |
509 "slots_buffer_clear=%.1f " | 510 "slots_buffer_clear=%.1f " |
510 "sweep=%.2f " | 511 "sweep=%.2f " |
511 "sweepns=%.2f " | 512 "sweepns=%.2f " |
512 "sweepos=%.2f " | 513 "sweepos=%.2f " |
513 "sweepcode=%.2f " | 514 "sweepcode=%.2f " |
514 "sweepcell=%.2f " | 515 "sweepcell=%.2f " |
515 "sweepmap=%.2f " | 516 "sweepmap=%.2f " |
516 "sweepaborted=%.2f " | 517 "sweepaborted=%.2f " |
517 "evacuate=%.1f " | 518 "evacuate=%.1f " |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
566 current_.scopes[Scope::MC_MARK_FINISH_INCREMENTAL], | 567 current_.scopes[Scope::MC_MARK_FINISH_INCREMENTAL], |
567 current_.scopes[Scope::MC_MARK_PREPARE_CODE_FLUSH], | 568 current_.scopes[Scope::MC_MARK_PREPARE_CODE_FLUSH], |
568 current_.scopes[Scope::MC_MARK_ROOT], | 569 current_.scopes[Scope::MC_MARK_ROOT], |
569 current_.scopes[Scope::MC_MARK_TOPOPT], | 570 current_.scopes[Scope::MC_MARK_TOPOPT], |
570 current_.scopes[Scope::MC_MARK_RETAIN_MAPS], | 571 current_.scopes[Scope::MC_MARK_RETAIN_MAPS], |
571 current_.scopes[Scope::MC_MARK_WEAK_CLOSURE], | 572 current_.scopes[Scope::MC_MARK_WEAK_CLOSURE], |
572 current_.scopes[Scope::MC_MARK_STRING_TABLE], | 573 current_.scopes[Scope::MC_MARK_STRING_TABLE], |
573 current_.scopes[Scope::MC_MARK_WEAK_REFERENCES], | 574 current_.scopes[Scope::MC_MARK_WEAK_REFERENCES], |
574 current_.scopes[Scope::MC_MARK_GLOBAL_HANDLES], | 575 current_.scopes[Scope::MC_MARK_GLOBAL_HANDLES], |
575 current_.scopes[Scope::MC_MARK_CODE_FLUSH], | 576 current_.scopes[Scope::MC_MARK_CODE_FLUSH], |
| 577 current_.scopes[Scope::MC_MARK_OPTIMIZED_CODE_MAPS], |
576 current_.scopes[Scope::MC_STORE_BUFFER_CLEAR], | 578 current_.scopes[Scope::MC_STORE_BUFFER_CLEAR], |
577 current_.scopes[Scope::MC_SLOTS_BUFFER_CLEAR], | 579 current_.scopes[Scope::MC_SLOTS_BUFFER_CLEAR], |
578 current_.scopes[Scope::MC_SWEEP], | 580 current_.scopes[Scope::MC_SWEEP], |
579 current_.scopes[Scope::MC_SWEEP_NEWSPACE], | 581 current_.scopes[Scope::MC_SWEEP_NEWSPACE], |
580 current_.scopes[Scope::MC_SWEEP_OLDSPACE], | 582 current_.scopes[Scope::MC_SWEEP_OLDSPACE], |
581 current_.scopes[Scope::MC_SWEEP_CODE], | 583 current_.scopes[Scope::MC_SWEEP_CODE], |
582 current_.scopes[Scope::MC_SWEEP_CELL], | 584 current_.scopes[Scope::MC_SWEEP_CELL], |
583 current_.scopes[Scope::MC_SWEEP_MAP], | 585 current_.scopes[Scope::MC_SWEEP_MAP], |
584 current_.scopes[Scope::MC_SWEEP_ABORTED], | 586 current_.scopes[Scope::MC_SWEEP_ABORTED], |
585 current_.scopes[Scope::MC_EVACUATE_PAGES], | 587 current_.scopes[Scope::MC_EVACUATE_PAGES], |
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
894 | 896 |
895 | 897 |
896 bool GCTracer::SurvivalEventsRecorded() const { | 898 bool GCTracer::SurvivalEventsRecorded() const { |
897 return survival_events_.size() > 0; | 899 return survival_events_.size() > 0; |
898 } | 900 } |
899 | 901 |
900 | 902 |
901 void GCTracer::ResetSurvivalEvents() { survival_events_.reset(); } | 903 void GCTracer::ResetSurvivalEvents() { survival_events_.reset(); } |
902 } // namespace internal | 904 } // namespace internal |
903 } // namespace v8 | 905 } // namespace v8 |
OLD | NEW |