Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Side by Side Diff: src/heap/gc-tracer.cc

Issue 1891683002: Reland of "[heap] Better integrate handling of aborted compaction pages" (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fixed Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 "clear.store_buffer=%.1f " 548 "clear.store_buffer=%.1f "
549 "clear.string_table=%.1f " 549 "clear.string_table=%.1f "
550 "clear.weak_cells=%.1f " 550 "clear.weak_cells=%.1f "
551 "clear.weak_collections=%.1f " 551 "clear.weak_collections=%.1f "
552 "clear.weak_lists=%.1f " 552 "clear.weak_lists=%.1f "
553 "evacuate=%.1f " 553 "evacuate=%.1f "
554 "evacuate.candidates=%.1f " 554 "evacuate.candidates=%.1f "
555 "evacuate.clean_up=%.1f " 555 "evacuate.clean_up=%.1f "
556 "evacuate.copy=%.1f " 556 "evacuate.copy=%.1f "
557 "evacuate.update_pointers=%.1f " 557 "evacuate.update_pointers=%.1f "
558 "evacuate.update_pointers.between_evacuated=%.1f "
559 "evacuate.update_pointers.to_evacuated=%.1f " 558 "evacuate.update_pointers.to_evacuated=%.1f "
560 "evacuate.update_pointers.to_new=%.1f " 559 "evacuate.update_pointers.to_new=%.1f "
561 "evacuate.update_pointers.weak=%.1f " 560 "evacuate.update_pointers.weak=%.1f "
562 "external.mc_prologue=%.1f " 561 "external.mc_prologue=%.1f "
563 "external.mc_epilogue=%.1f " 562 "external.mc_epilogue=%.1f "
564 "external.mc_incremental_prologue=%.1f " 563 "external.mc_incremental_prologue=%.1f "
565 "external.mc_incremental_epilogue=%.1f " 564 "external.mc_incremental_epilogue=%.1f "
566 "external.weak_global_handles=%.1f " 565 "external.weak_global_handles=%.1f "
567 "finish=%.1f " 566 "finish=%.1f "
568 "mark=%.1f " 567 "mark=%.1f "
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 current_.scopes[Scope::MC_CLEAR_STORE_BUFFER], 620 current_.scopes[Scope::MC_CLEAR_STORE_BUFFER],
622 current_.scopes[Scope::MC_CLEAR_STRING_TABLE], 621 current_.scopes[Scope::MC_CLEAR_STRING_TABLE],
623 current_.scopes[Scope::MC_CLEAR_WEAK_CELLS], 622 current_.scopes[Scope::MC_CLEAR_WEAK_CELLS],
624 current_.scopes[Scope::MC_CLEAR_WEAK_COLLECTIONS], 623 current_.scopes[Scope::MC_CLEAR_WEAK_COLLECTIONS],
625 current_.scopes[Scope::MC_CLEAR_WEAK_LISTS], 624 current_.scopes[Scope::MC_CLEAR_WEAK_LISTS],
626 current_.scopes[Scope::MC_EVACUATE], 625 current_.scopes[Scope::MC_EVACUATE],
627 current_.scopes[Scope::MC_EVACUATE_CANDIDATES], 626 current_.scopes[Scope::MC_EVACUATE_CANDIDATES],
628 current_.scopes[Scope::MC_EVACUATE_CLEAN_UP], 627 current_.scopes[Scope::MC_EVACUATE_CLEAN_UP],
629 current_.scopes[Scope::MC_EVACUATE_COPY], 628 current_.scopes[Scope::MC_EVACUATE_COPY],
630 current_.scopes[Scope::MC_EVACUATE_UPDATE_POINTERS], 629 current_.scopes[Scope::MC_EVACUATE_UPDATE_POINTERS],
631 current_.scopes[Scope::MC_EVACUATE_UPDATE_POINTERS_BETWEEN_EVACUATED],
632 current_.scopes[Scope::MC_EVACUATE_UPDATE_POINTERS_TO_EVACUATED], 630 current_.scopes[Scope::MC_EVACUATE_UPDATE_POINTERS_TO_EVACUATED],
633 current_.scopes[Scope::MC_EVACUATE_UPDATE_POINTERS_TO_NEW], 631 current_.scopes[Scope::MC_EVACUATE_UPDATE_POINTERS_TO_NEW],
634 current_.scopes[Scope::MC_EVACUATE_UPDATE_POINTERS_WEAK], 632 current_.scopes[Scope::MC_EVACUATE_UPDATE_POINTERS_WEAK],
635 current_.scopes[Scope::MC_EXTERNAL_PROLOGUE], 633 current_.scopes[Scope::MC_EXTERNAL_PROLOGUE],
636 current_.scopes[Scope::MC_EXTERNAL_EPILOGUE], 634 current_.scopes[Scope::MC_EXTERNAL_EPILOGUE],
637 current_.scopes[Scope::MC_INCREMENTAL_EXTERNAL_PROLOGUE], 635 current_.scopes[Scope::MC_INCREMENTAL_EXTERNAL_PROLOGUE],
638 current_.scopes[Scope::MC_INCREMENTAL_EXTERNAL_EPILOGUE], 636 current_.scopes[Scope::MC_INCREMENTAL_EXTERNAL_EPILOGUE],
639 current_.scopes[Scope::EXTERNAL_WEAK_GLOBAL_HANDLES], 637 current_.scopes[Scope::EXTERNAL_WEAK_GLOBAL_HANDLES],
640 current_.scopes[Scope::MC_FINISH], current_.scopes[Scope::MC_MARK], 638 current_.scopes[Scope::MC_FINISH], current_.scopes[Scope::MC_MARK],
641 current_.scopes[Scope::MC_MARK_FINISH_INCREMENTAL], 639 current_.scopes[Scope::MC_MARK_FINISH_INCREMENTAL],
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
800 return sum / recorded_survival_ratios_.Count(); 798 return sum / recorded_survival_ratios_.Count();
801 } 799 }
802 800
803 bool GCTracer::SurvivalEventsRecorded() const { 801 bool GCTracer::SurvivalEventsRecorded() const {
804 return recorded_survival_ratios_.Count() > 0; 802 return recorded_survival_ratios_.Count() > 0;
805 } 803 }
806 804
807 void GCTracer::ResetSurvivalEvents() { recorded_survival_ratios_.Reset(); } 805 void GCTracer::ResetSurvivalEvents() { recorded_survival_ratios_.Reset(); }
808 } // namespace internal 806 } // namespace internal
809 } // namespace v8 807 } // namespace v8
OLDNEW
« no previous file with comments | « src/heap/gc-tracer.h ('k') | src/heap/mark-compact.h » ('j') | src/heap/mark-compact.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698