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 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 "mark_inc=%.1f " | 485 "mark_inc=%.1f " |
486 "mark_prepcodeflush=%.1f " | 486 "mark_prepcodeflush=%.1f " |
487 "mark_root=%.1f " | 487 "mark_root=%.1f " |
488 "mark_topopt=%.1f " | 488 "mark_topopt=%.1f " |
489 "mark_retainmaps=%.1f " | 489 "mark_retainmaps=%.1f " |
490 "mark_weakclosure=%.1f " | 490 "mark_weakclosure=%.1f " |
491 "mark_stringtable=%.1f " | 491 "mark_stringtable=%.1f " |
492 "mark_weakrefs=%.1f " | 492 "mark_weakrefs=%.1f " |
493 "mark_globalhandles=%.1f " | 493 "mark_globalhandles=%.1f " |
494 "mark_codeflush=%.1f " | 494 "mark_codeflush=%.1f " |
| 495 "mark_optimizedcodemaps=%.1f " |
495 "store_buffer_clear=%.1f " | 496 "store_buffer_clear=%.1f " |
496 "slots_buffer_clear=%.1f " | 497 "slots_buffer_clear=%.1f " |
497 "sweep=%.2f " | 498 "sweep=%.2f " |
498 "sweepns=%.2f " | 499 "sweepns=%.2f " |
499 "sweepos=%.2f " | 500 "sweepos=%.2f " |
500 "sweepcode=%.2f " | 501 "sweepcode=%.2f " |
501 "sweepcell=%.2f " | 502 "sweepcell=%.2f " |
502 "sweepmap=%.2f " | 503 "sweepmap=%.2f " |
503 "sweepaborted=%.2f " | 504 "sweepaborted=%.2f " |
504 "evacuate=%.1f " | 505 "evacuate=%.1f " |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
551 current_.scopes[Scope::MC_MARK_FINISH_INCREMENTAL], | 552 current_.scopes[Scope::MC_MARK_FINISH_INCREMENTAL], |
552 current_.scopes[Scope::MC_MARK_PREPARE_CODE_FLUSH], | 553 current_.scopes[Scope::MC_MARK_PREPARE_CODE_FLUSH], |
553 current_.scopes[Scope::MC_MARK_ROOT], | 554 current_.scopes[Scope::MC_MARK_ROOT], |
554 current_.scopes[Scope::MC_MARK_TOPOPT], | 555 current_.scopes[Scope::MC_MARK_TOPOPT], |
555 current_.scopes[Scope::MC_MARK_RETAIN_MAPS], | 556 current_.scopes[Scope::MC_MARK_RETAIN_MAPS], |
556 current_.scopes[Scope::MC_MARK_WEAK_CLOSURE], | 557 current_.scopes[Scope::MC_MARK_WEAK_CLOSURE], |
557 current_.scopes[Scope::MC_MARK_STRING_TABLE], | 558 current_.scopes[Scope::MC_MARK_STRING_TABLE], |
558 current_.scopes[Scope::MC_MARK_WEAK_REFERENCES], | 559 current_.scopes[Scope::MC_MARK_WEAK_REFERENCES], |
559 current_.scopes[Scope::MC_MARK_GLOBAL_HANDLES], | 560 current_.scopes[Scope::MC_MARK_GLOBAL_HANDLES], |
560 current_.scopes[Scope::MC_MARK_CODE_FLUSH], | 561 current_.scopes[Scope::MC_MARK_CODE_FLUSH], |
| 562 current_.scopes[Scope::MC_MARK_OPTIMIZED_CODE_MAPS], |
561 current_.scopes[Scope::MC_STORE_BUFFER_CLEAR], | 563 current_.scopes[Scope::MC_STORE_BUFFER_CLEAR], |
562 current_.scopes[Scope::MC_SLOTS_BUFFER_CLEAR], | 564 current_.scopes[Scope::MC_SLOTS_BUFFER_CLEAR], |
563 current_.scopes[Scope::MC_SWEEP], | 565 current_.scopes[Scope::MC_SWEEP], |
564 current_.scopes[Scope::MC_SWEEP_NEWSPACE], | 566 current_.scopes[Scope::MC_SWEEP_NEWSPACE], |
565 current_.scopes[Scope::MC_SWEEP_OLDSPACE], | 567 current_.scopes[Scope::MC_SWEEP_OLDSPACE], |
566 current_.scopes[Scope::MC_SWEEP_CODE], | 568 current_.scopes[Scope::MC_SWEEP_CODE], |
567 current_.scopes[Scope::MC_SWEEP_CELL], | 569 current_.scopes[Scope::MC_SWEEP_CELL], |
568 current_.scopes[Scope::MC_SWEEP_MAP], | 570 current_.scopes[Scope::MC_SWEEP_MAP], |
569 current_.scopes[Scope::MC_SWEEP_ABORTED], | 571 current_.scopes[Scope::MC_SWEEP_ABORTED], |
570 current_.scopes[Scope::MC_EVACUATE_PAGES], | 572 current_.scopes[Scope::MC_EVACUATE_PAGES], |
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
877 | 879 |
878 | 880 |
879 bool GCTracer::SurvivalEventsRecorded() const { | 881 bool GCTracer::SurvivalEventsRecorded() const { |
880 return survival_events_.size() > 0; | 882 return survival_events_.size() > 0; |
881 } | 883 } |
882 | 884 |
883 | 885 |
884 void GCTracer::ResetSurvivalEvents() { survival_events_.reset(); } | 886 void GCTracer::ResetSurvivalEvents() { survival_events_.reset(); } |
885 } // namespace internal | 887 } // namespace internal |
886 } // namespace v8 | 888 } // namespace v8 |
OLD | NEW |