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 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 "mark_inc=%.1f " | 472 "mark_inc=%.1f " |
473 "mark_prepcodeflush=%.1f " | 473 "mark_prepcodeflush=%.1f " |
474 "mark_root=%.1f " | 474 "mark_root=%.1f " |
475 "mark_topopt=%.1f " | 475 "mark_topopt=%.1f " |
476 "mark_retainmaps=%.1f " | 476 "mark_retainmaps=%.1f " |
477 "mark_weakclosure=%.1f " | 477 "mark_weakclosure=%.1f " |
478 "mark_stringtable=%.1f " | 478 "mark_stringtable=%.1f " |
479 "mark_weakrefs=%.1f " | 479 "mark_weakrefs=%.1f " |
480 "mark_globalhandles=%.1f " | 480 "mark_globalhandles=%.1f " |
481 "mark_codeflush=%.1f " | 481 "mark_codeflush=%.1f " |
| 482 "store_buffer_clear=%.1f " |
| 483 "slots_buffer_clear=%.1f " |
482 "sweep=%.2f " | 484 "sweep=%.2f " |
483 "sweepns=%.2f " | 485 "sweepns=%.2f " |
484 "sweepos=%.2f " | 486 "sweepos=%.2f " |
485 "sweepcode=%.2f " | 487 "sweepcode=%.2f " |
486 "sweepcell=%.2f " | 488 "sweepcell=%.2f " |
487 "sweepmap=%.2f " | 489 "sweepmap=%.2f " |
488 "evacuate=%.1f " | 490 "evacuate=%.1f " |
489 "new_new=%.1f " | 491 "new_new=%.1f " |
490 "root_new=%.1f " | 492 "root_new=%.1f " |
491 "old_new=%.1f " | 493 "old_new=%.1f " |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 current_.scopes[Scope::MC_MARK_FINISH_INCREMENTAL], | 537 current_.scopes[Scope::MC_MARK_FINISH_INCREMENTAL], |
536 current_.scopes[Scope::MC_MARK_PREPARE_CODE_FLUSH], | 538 current_.scopes[Scope::MC_MARK_PREPARE_CODE_FLUSH], |
537 current_.scopes[Scope::MC_MARK_ROOT], | 539 current_.scopes[Scope::MC_MARK_ROOT], |
538 current_.scopes[Scope::MC_MARK_TOPOPT], | 540 current_.scopes[Scope::MC_MARK_TOPOPT], |
539 current_.scopes[Scope::MC_MARK_RETAIN_MAPS], | 541 current_.scopes[Scope::MC_MARK_RETAIN_MAPS], |
540 current_.scopes[Scope::MC_MARK_WEAK_CLOSURE], | 542 current_.scopes[Scope::MC_MARK_WEAK_CLOSURE], |
541 current_.scopes[Scope::MC_MARK_STRING_TABLE], | 543 current_.scopes[Scope::MC_MARK_STRING_TABLE], |
542 current_.scopes[Scope::MC_MARK_WEAK_REFERENCES], | 544 current_.scopes[Scope::MC_MARK_WEAK_REFERENCES], |
543 current_.scopes[Scope::MC_MARK_GLOBAL_HANDLES], | 545 current_.scopes[Scope::MC_MARK_GLOBAL_HANDLES], |
544 current_.scopes[Scope::MC_MARK_CODE_FLUSH], | 546 current_.scopes[Scope::MC_MARK_CODE_FLUSH], |
| 547 current_.scopes[Scope::MC_STORE_BUFFER_CLEAR], |
| 548 current_.scopes[Scope::MC_SLOTS_BUFFER_CLEAR], |
545 current_.scopes[Scope::MC_SWEEP], | 549 current_.scopes[Scope::MC_SWEEP], |
546 current_.scopes[Scope::MC_SWEEP_NEWSPACE], | 550 current_.scopes[Scope::MC_SWEEP_NEWSPACE], |
547 current_.scopes[Scope::MC_SWEEP_OLDSPACE], | 551 current_.scopes[Scope::MC_SWEEP_OLDSPACE], |
548 current_.scopes[Scope::MC_SWEEP_CODE], | 552 current_.scopes[Scope::MC_SWEEP_CODE], |
549 current_.scopes[Scope::MC_SWEEP_CELL], | 553 current_.scopes[Scope::MC_SWEEP_CELL], |
550 current_.scopes[Scope::MC_SWEEP_MAP], | 554 current_.scopes[Scope::MC_SWEEP_MAP], |
551 current_.scopes[Scope::MC_EVACUATE_PAGES], | 555 current_.scopes[Scope::MC_EVACUATE_PAGES], |
552 current_.scopes[Scope::MC_UPDATE_NEW_TO_NEW_POINTERS], | 556 current_.scopes[Scope::MC_UPDATE_NEW_TO_NEW_POINTERS], |
553 current_.scopes[Scope::MC_UPDATE_ROOT_TO_NEW_POINTERS], | 557 current_.scopes[Scope::MC_UPDATE_ROOT_TO_NEW_POINTERS], |
554 current_.scopes[Scope::MC_UPDATE_OLD_TO_NEW_POINTERS], | 558 current_.scopes[Scope::MC_UPDATE_OLD_TO_NEW_POINTERS], |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
841 | 845 |
842 | 846 |
843 bool GCTracer::SurvivalEventsRecorded() const { | 847 bool GCTracer::SurvivalEventsRecorded() const { |
844 return survival_events_.size() > 0; | 848 return survival_events_.size() > 0; |
845 } | 849 } |
846 | 850 |
847 | 851 |
848 void GCTracer::ResetSurvivalEvents() { survival_events_.reset(); } | 852 void GCTracer::ResetSurvivalEvents() { survival_events_.reset(); } |
849 } // namespace internal | 853 } // namespace internal |
850 } // namespace v8 | 854 } // namespace v8 |
OLD | NEW |