Lines Matching refs:Scope
49 void GCTracer::Scope::AssertMainThread() {
61 const char* GCTracer::Scope::Name(ScopeId id) {
63 case Scope::scope: \
68 case Scope::NUMBER_OF_SCOPES:
75 bool GCTracer::Scope::NeedsYoungEpoch(ScopeId id) {
77 case Scope::scope: \
108 for (int i = 0; i < Scope::NUMBER_OF_SCOPES; i++) {
190 STATIC_ASSERT(0 == Scope::FIRST_INCREMENTAL_SCOPE);
193 STATIC_ASSERT(0 == Scope::MC_INCREMENTAL);
195 for (int i = 0; i < Scope::NUMBER_OF_SCOPES; i++) {
234 for (int i = 0; i < Scope::NUMBER_OF_SCOPES; i++) {
353 for (int i = 0; i < Scope::NUMBER_OF_INCREMENTAL_SCOPES; i++) {
446 for (int i = 0; i < Scope::NUMBER_OF_INCREMENTAL_SCOPES; i++) {
685 current_scope(Scope::MC_INCREMENTAL),
686 incremental_scope(Scope::MC_INCREMENTAL).steps,
687 incremental_scope(Scope::MC_INCREMENTAL).longest_step,
692 current_scope(Scope::HEAP_EXTERNAL_WEAK_GLOBAL_HANDLES) +
693 current_scope(Scope::HEAP_EXTERNAL_EPILOGUE) +
694 current_scope(Scope::HEAP_EXTERNAL_PROLOGUE) +
695 current_scope(Scope::MC_INCREMENTAL_EXTERNAL_EPILOGUE) +
696 current_scope(Scope::MC_INCREMENTAL_EXTERNAL_PROLOGUE);
785 current_.reduce_memory, current_.scopes[Scope::TIME_TO_SAFEPOINT],
786 current_scope(Scope::HEAP_PROLOGUE),
787 current_scope(Scope::HEAP_EPILOGUE),
788 current_scope(Scope::HEAP_EPILOGUE_REDUCE_NEW_SPACE),
789 current_scope(Scope::HEAP_EXTERNAL_PROLOGUE),
790 current_scope(Scope::HEAP_EXTERNAL_EPILOGUE),
791 current_scope(Scope::HEAP_EXTERNAL_WEAK_GLOBAL_HANDLES),
792 current_scope(Scope::SCAVENGER_FAST_PROMOTE),
793 current_scope(Scope::SCAVENGER_COMPLETE_SWEEP_ARRAY_BUFFERS),
794 current_scope(Scope::SCAVENGER_SCAVENGE),
795 current_scope(Scope::SCAVENGER_FREE_REMEMBERED_SET),
796 current_scope(Scope::SCAVENGER_SCAVENGE_ROOTS),
797 current_scope(Scope::SCAVENGER_SCAVENGE_WEAK),
798 current_scope(Scope::SCAVENGER_SCAVENGE_WEAK_GLOBAL_HANDLES_IDENTIFY),
799 current_scope(Scope::SCAVENGER_SCAVENGE_WEAK_GLOBAL_HANDLES_PROCESS),
800 current_scope(Scope::SCAVENGER_SCAVENGE_PARALLEL),
801 current_scope(Scope::SCAVENGER_SCAVENGE_UPDATE_REFS),
802 current_scope(Scope::SCAVENGER_SWEEP_ARRAY_BUFFERS),
803 current_scope(Scope::SCAVENGER_BACKGROUND_SCAVENGE_PARALLEL),
804 current_scope(Scope::BACKGROUND_UNMAPPER),
805 current_scope(Scope::UNMAPPER),
806 incremental_scope(GCTracer::Scope::MC_INCREMENTAL).steps,
807 current_scope(Scope::MC_INCREMENTAL),
850 current_scope(Scope::MINOR_MC),
851 current_scope(Scope::MINOR_MC_SWEEPING),
852 current_scope(Scope::TIME_TO_SAFEPOINT),
853 current_scope(Scope::MINOR_MC_MARK),
854 current_scope(Scope::MINOR_MC_MARK_SEED),
855 current_scope(Scope::MINOR_MC_MARK_ROOTS),
856 current_scope(Scope::MINOR_MC_MARK_WEAK),
857 current_scope(Scope::MINOR_MC_MARK_GLOBAL_HANDLES),
858 current_scope(Scope::MINOR_MC_CLEAR),
859 current_scope(Scope::MINOR_MC_CLEAR_STRING_TABLE),
860 current_scope(Scope::MINOR_MC_CLEAR_WEAK_LISTS),
861 current_scope(Scope::MINOR_MC_EVACUATE),
862 current_scope(Scope::MINOR_MC_EVACUATE_COPY),
863 current_scope(Scope::MINOR_MC_EVACUATE_UPDATE_POINTERS),
864 current_scope(Scope::MINOR_MC_EVACUATE_UPDATE_POINTERS_TO_NEW_ROOTS),
865 current_scope(Scope::MINOR_MC_EVACUATE_UPDATE_POINTERS_SLOTS),
866 current_scope(Scope::MINOR_MC_BACKGROUND_MARKING),
867 current_scope(Scope::MINOR_MC_BACKGROUND_EVACUATE_COPY),
868 current_scope(Scope::MINOR_MC_BACKGROUND_EVACUATE_UPDATE_POINTERS),
869 current_scope(Scope::BACKGROUND_UNMAPPER),
870 current_scope(Scope::UNMAPPER),
871 current_scope(Scope::MINOR_MC_MARKING_DEQUE),
872 current_scope(Scope::MINOR_MC_RESET_LIVENESS));
971 current_.reduce_memory, current_scope(Scope::TIME_TO_SAFEPOINT),
972 current_scope(Scope::HEAP_PROLOGUE),
973 current_scope(Scope::HEAP_EMBEDDER_TRACING_EPILOGUE),
974 current_scope(Scope::HEAP_EPILOGUE),
975 current_scope(Scope::HEAP_EPILOGUE_REDUCE_NEW_SPACE),
976 current_scope(Scope::HEAP_EXTERNAL_PROLOGUE),
977 current_scope(Scope::HEAP_EXTERNAL_EPILOGUE),
978 current_scope(Scope::HEAP_EXTERNAL_WEAK_GLOBAL_HANDLES),
979 current_scope(Scope::MC_CLEAR),
980 current_scope(Scope::MC_CLEAR_DEPENDENT_CODE),
981 current_scope(Scope::MC_CLEAR_MAPS),
982 current_scope(Scope::MC_CLEAR_SLOTS_BUFFER),
983 current_scope(Scope::MC_CLEAR_STRING_TABLE),
984 current_scope(Scope::MC_CLEAR_WEAK_COLLECTIONS),
985 current_scope(Scope::MC_CLEAR_WEAK_LISTS),
986 current_scope(Scope::MC_CLEAR_WEAK_REFERENCES),
987 current_scope(Scope::MC_COMPLETE_SWEEP_ARRAY_BUFFERS),
988 current_scope(Scope::MC_EPILOGUE), current_scope(Scope::MC_EVACUATE),
989 current_scope(Scope::MC_EVACUATE_CANDIDATES),
990 current_scope(Scope::MC_EVACUATE_CLEAN_UP),
991 current_scope(Scope::MC_EVACUATE_COPY),
992 current_scope(Scope::MC_EVACUATE_PROLOGUE),
993 current_scope(Scope::MC_EVACUATE_EPILOGUE),
994 current_scope(Scope::MC_EVACUATE_REBALANCE),
995 current_scope(Scope::MC_EVACUATE_UPDATE_POINTERS),
996 current_scope(Scope::MC_EVACUATE_UPDATE_POINTERS_TO_NEW_ROOTS),
997 current_scope(Scope::MC_EVACUATE_UPDATE_POINTERS_SLOTS_MAIN),
998 current_scope(Scope::MC_EVACUATE_UPDATE_POINTERS_WEAK),
999 current_scope(Scope::MC_FINISH),
1000 current_scope(Scope::MC_FINISH_SWEEP_ARRAY_BUFFERS),
1001 current_scope(Scope::MC_MARK),
1002 current_scope(Scope::MC_MARK_FINISH_INCREMENTAL),
1003 current_scope(Scope::MC_MARK_ROOTS),
1004 current_scope(Scope::MC_MARK_MAIN),
1005 current_scope(Scope::MC_MARK_WEAK_CLOSURE),
1006 current_scope(Scope::MC_MARK_WEAK_CLOSURE_EPHEMERON),
1007 current_scope(Scope::MC_MARK_WEAK_CLOSURE_EPHEMERON_MARKING),
1008 current_scope(Scope::MC_MARK_WEAK_CLOSURE_EPHEMERON_LINEAR),
1009 current_scope(Scope::MC_MARK_WEAK_CLOSURE_WEAK_HANDLES),
1010 current_scope(Scope::MC_MARK_WEAK_CLOSURE_WEAK_ROOTS),
1011 current_scope(Scope::MC_MARK_WEAK_CLOSURE_HARMONY),
1012 current_scope(Scope::MC_MARK_EMBEDDER_PROLOGUE),
1013 current_scope(Scope::MC_MARK_EMBEDDER_TRACING),
1014 current_scope(Scope::MC_PROLOGUE), current_scope(Scope::MC_SWEEP),
1015 current_scope(Scope::MC_SWEEP_CODE),
1016 current_scope(Scope::MC_SWEEP_MAP),
1017 current_scope(Scope::MC_SWEEP_OLD),
1018 current_scope(Scope::MC_INCREMENTAL),
1019 current_scope(Scope::MC_INCREMENTAL_FINALIZE),
1020 current_scope(Scope::MC_INCREMENTAL_FINALIZE_BODY),
1021 current_scope(Scope::MC_INCREMENTAL_EXTERNAL_PROLOGUE),
1022 current_scope(Scope::MC_INCREMENTAL_EXTERNAL_EPILOGUE),
1023 current_scope(Scope::MC_INCREMENTAL_LAYOUT_CHANGE),
1024 current_scope(Scope::MC_INCREMENTAL_START),
1025 current_scope(Scope::MC_INCREMENTAL_SWEEPING),
1026 current_scope(Scope::MC_INCREMENTAL_EMBEDDER_PROLOGUE),
1027 current_scope(Scope::MC_INCREMENTAL_EMBEDDER_TRACING),
1028 incremental_scope(Scope::MC_INCREMENTAL_EMBEDDER_TRACING)
1030 incremental_scope(Scope::MC_INCREMENTAL_FINALIZE_BODY).longest_step,
1031 incremental_scope(Scope::MC_INCREMENTAL_FINALIZE_BODY).steps,
1032 incremental_scope(Scope::MC_INCREMENTAL).longest_step,
1033 incremental_scope(Scope::MC_INCREMENTAL).steps,
1036 current_scope(Scope::MC_BACKGROUND_MARKING),
1037 current_scope(Scope::MC_BACKGROUND_SWEEPING),
1038 current_scope(Scope::MC_BACKGROUND_EVACUATE_COPY),
1039 current_scope(Scope::MC_BACKGROUND_EVACUATE_UPDATE_POINTERS),
1040 current_scope(Scope::BACKGROUND_UNMAPPER),
1041 current_scope(Scope::UNMAPPER), current_.start_object_size,
1291 FetchBackgroundCounters(Scope::FIRST_MC_BACKGROUND_SCOPE,
1292 Scope::LAST_MC_BACKGROUND_SCOPE);
1294 static_cast<int>(current_.scopes[Scope::MC_BACKGROUND_MARKING]));
1296 static_cast<int>(current_.scopes[Scope::MC_BACKGROUND_SWEEPING]));
1300 FetchBackgroundCounters(Scope::FIRST_MINOR_GC_BACKGROUND_SCOPE,
1301 Scope::LAST_MINOR_GC_BACKGROUND_SCOPE);
1305 FetchBackgroundCounters(Scope::FIRST_GENERAL_BACKGROUND_SCOPE,
1306 Scope::LAST_GENERAL_BACKGROUND_SCOPE);
1320 DCHECK_EQ(Scope::FIRST_TOP_MC_SCOPE, Scope::MC_CLEAR);
1322 static_cast<int>(current_.scopes[Scope::MC_CLEAR]));
1324 static_cast<int>(current_.scopes[Scope::MC_EPILOGUE]));
1326 static_cast<int>(current_.scopes[Scope::MC_EVACUATE]));
1328 static_cast<int>(current_.scopes[Scope::MC_FINISH]));
1330 static_cast<int>(current_.scopes[Scope::MC_MARK]));
1332 static_cast<int>(current_.scopes[Scope::MC_PROLOGUE]));
1334 static_cast<int>(current_.scopes[Scope::MC_SWEEP]));
1340 incremental_marking_duration_ + current_.scopes[Scope::MC_MARK];
1354 current_.scopes[Scope::MC_MARK_EMBEDDER_TRACING];
1367 DCHECK_EQ(Scope::LAST_TOP_MC_SCOPE, Scope::MC_SWEEP);
1370 static_cast<int>(current_.scopes[Scope::SCAVENGER_SCAVENGE_PARALLEL]));
1372 static_cast<int>(current_.scopes[Scope::SCAVENGER_SCAVENGE_ROOTS]));
1379 const double atomic_pause_duration = current_.scopes[Scope::MARK_COMPACTOR];
1381 incremental_scopes_[Scope::MC_INCREMENTAL_LAYOUT_CHANGE].duration +
1382 incremental_scopes_[Scope::MC_INCREMENTAL_START].duration +
1384 incremental_scopes_[Scope::MC_INCREMENTAL_FINALIZE].duration;
1386 incremental_scopes_[Scope::MC_INCREMENTAL_SWEEPING].duration;
1390 background_counter_[Scope::MC_BACKGROUND_EVACUATE_COPY]
1392 background_counter_[Scope::MC_BACKGROUND_EVACUATE_UPDATE_POINTERS]
1394 background_counter_[Scope::MC_BACKGROUND_MARKING].total_duration_ms +
1395 background_counter_[Scope::MC_BACKGROUND_SWEEPING].total_duration_ms;
1397 current_.scopes[Scope::MC_PROLOGUE] + current_.scopes[Scope::MC_MARK];
1400 background_counter_[Scope::MC_BACKGROUND_MARKING].total_duration_ms;
1538 const double atomic_pause_duration = current_.scopes[Scope::MARK_COMPACTOR];
1540 current_.incremental_scopes[Scope::MC_INCREMENTAL_LAYOUT_CHANGE]
1542 current_.incremental_scopes[Scope::MC_INCREMENTAL_START].duration +
1544 current_.incremental_scopes[Scope::MC_INCREMENTAL_FINALIZE].duration;
1546 current_.incremental_scopes[Scope::MC_INCREMENTAL_SWEEPING].duration;
1550 current_.scopes[Scope::MC_BACKGROUND_MARKING];
1552 current_.scopes[Scope::MC_BACKGROUND_SWEEPING];
1554 current_.scopes[Scope::MC_BACKGROUND_EVACUATE_COPY] +
1555 current_.scopes[Scope::MC_BACKGROUND_EVACUATE_UPDATE_POINTERS];
1560 current_.scopes[Scope::MC_PROLOGUE] + current_.scopes[Scope::MC_MARK];
1562 const double weak_duration = current_.scopes[Scope::MC_CLEAR];
1563 const double compact_duration = current_.scopes[Scope::MC_EVACUATE] +
1564 current_.scopes[Scope::MC_FINISH] +
1565 current_.scopes[Scope::MC_EPILOGUE];
1566 const double atomic_sweeping_duration = current_.scopes[Scope::MC_SWEEP];
1709 (current_.scopes[Scope::SCAVENGER] +
1710 current_.scopes[Scope::MINOR_MARK_COMPACTOR] +
1711 current_.scopes[Scope::SCAVENGER_BACKGROUND_SCAVENGE_PARALLEL] +
1712 current_.scopes[Scope::MINOR_MC_BACKGROUND_EVACUATE_COPY] +
1713 current_.scopes[Scope::MINOR_MC_BACKGROUND_MARKING] +
1714 current_.scopes[Scope::MINOR_MC_BACKGROUND_EVACUATE_UPDATE_POINTERS]) *
1723 (current_.scopes[Scope::SCAVENGER] +
1724 current_.scopes[Scope::MINOR_MARK_COMPACTOR]) *