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

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

Issue 1488593003: Optimize clearing of map transitions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address comment Created 5 years 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
« no previous file with comments | « src/heap/gc-tracer.h ('k') | src/heap/heap.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 "new_new=%.1f " 534 "new_new=%.1f "
535 "root_new=%.1f " 535 "root_new=%.1f "
536 "old_new=%.1f " 536 "old_new=%.1f "
537 "compaction_ptrs=%.1f " 537 "compaction_ptrs=%.1f "
538 "intracompaction_ptrs=%.1f " 538 "intracompaction_ptrs=%.1f "
539 "misc_compaction=%.1f " 539 "misc_compaction=%.1f "
540 "inc_weak_closure=%.1f " 540 "inc_weak_closure=%.1f "
541 "weakcollection_process=%.1f " 541 "weakcollection_process=%.1f "
542 "weakcollection_clear=%.1f " 542 "weakcollection_clear=%.1f "
543 "weakcollection_abort=%.1f " 543 "weakcollection_abort=%.1f "
544 "weakcells=%.1f " 544 "clear=%1f"
545 "nonlive_refs=%.1f " 545 "clear_weakcell=%.1f "
546 "extract_dependent_code=%.1f " 546 "clear_map=%.1f "
547 "deopt_dependent_code=%.1f " 547 "clear_dependent_code=%.1f "
548 "steps_count=%d " 548 "steps_count=%d "
549 "steps_took=%.1f " 549 "steps_took=%.1f "
550 "longest_step=%.1f " 550 "longest_step=%.1f "
551 "finalization_steps_count=%d " 551 "finalization_steps_count=%d "
552 "finalization_steps_took=%.1f " 552 "finalization_steps_took=%.1f "
553 "finalization_longest_step=%.1f " 553 "finalization_longest_step=%.1f "
554 "incremental_marking_throughput=%" V8_PTR_PREFIX 554 "incremental_marking_throughput=%" V8_PTR_PREFIX
555 "d " 555 "d "
556 "total_size_before=%" V8_PTR_PREFIX 556 "total_size_before=%" V8_PTR_PREFIX
557 "d " 557 "d "
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 current_.scopes[Scope::MC_UPDATE_NEW_TO_NEW_POINTERS], 606 current_.scopes[Scope::MC_UPDATE_NEW_TO_NEW_POINTERS],
607 current_.scopes[Scope::MC_UPDATE_ROOT_TO_NEW_POINTERS], 607 current_.scopes[Scope::MC_UPDATE_ROOT_TO_NEW_POINTERS],
608 current_.scopes[Scope::MC_UPDATE_OLD_TO_NEW_POINTERS], 608 current_.scopes[Scope::MC_UPDATE_OLD_TO_NEW_POINTERS],
609 current_.scopes[Scope::MC_UPDATE_POINTERS_TO_EVACUATED], 609 current_.scopes[Scope::MC_UPDATE_POINTERS_TO_EVACUATED],
610 current_.scopes[Scope::MC_UPDATE_POINTERS_BETWEEN_EVACUATED], 610 current_.scopes[Scope::MC_UPDATE_POINTERS_BETWEEN_EVACUATED],
611 current_.scopes[Scope::MC_UPDATE_MISC_POINTERS], 611 current_.scopes[Scope::MC_UPDATE_MISC_POINTERS],
612 current_.scopes[Scope::MC_INCREMENTAL_FINALIZE], 612 current_.scopes[Scope::MC_INCREMENTAL_FINALIZE],
613 current_.scopes[Scope::MC_WEAKCOLLECTION_PROCESS], 613 current_.scopes[Scope::MC_WEAKCOLLECTION_PROCESS],
614 current_.scopes[Scope::MC_WEAKCOLLECTION_CLEAR], 614 current_.scopes[Scope::MC_WEAKCOLLECTION_CLEAR],
615 current_.scopes[Scope::MC_WEAKCOLLECTION_ABORT], 615 current_.scopes[Scope::MC_WEAKCOLLECTION_ABORT],
616 current_.scopes[Scope::MC_WEAKCELL], 616 current_.scopes[Scope::MC_CLEAR],
617 current_.scopes[Scope::MC_NONLIVEREFERENCES], 617 current_.scopes[Scope::MC_CLEAR_WEAKCELL],
618 current_.scopes[Scope::MC_EXTRACT_DEPENDENT_CODE], 618 current_.scopes[Scope::MC_CLEAR_MAP],
619 current_.scopes[Scope::MC_DEOPT_DEPENDENT_CODE], 619 current_.scopes[Scope::MC_CLEAR_DEPENDENT_CODE],
620 current_.incremental_marking_steps, 620 current_.incremental_marking_steps,
621 current_.incremental_marking_duration, 621 current_.incremental_marking_duration,
622 current_.longest_incremental_marking_step, 622 current_.longest_incremental_marking_step,
623 cumulative_incremental_marking_finalization_steps_, 623 cumulative_incremental_marking_finalization_steps_,
624 cumulative_incremental_marking_finalization_duration_, 624 cumulative_incremental_marking_finalization_duration_,
625 longest_incremental_marking_finalization_step_, 625 longest_incremental_marking_finalization_step_,
626 IncrementalMarkingSpeedInBytesPerMillisecond(), 626 IncrementalMarkingSpeedInBytesPerMillisecond(),
627 current_.start_object_size, current_.end_object_size, 627 current_.start_object_size, current_.end_object_size,
628 current_.start_holes_size, current_.end_holes_size, 628 current_.start_holes_size, current_.end_holes_size,
629 allocated_since_last_gc, heap_->promoted_objects_size(), 629 allocated_since_last_gc, heap_->promoted_objects_size(),
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
917 917
918 918
919 bool GCTracer::SurvivalEventsRecorded() const { 919 bool GCTracer::SurvivalEventsRecorded() const {
920 return survival_events_.size() > 0; 920 return survival_events_.size() > 0;
921 } 921 }
922 922
923 923
924 void GCTracer::ResetSurvivalEvents() { survival_events_.reset(); } 924 void GCTracer::ResetSurvivalEvents() { survival_events_.reset(); }
925 } // namespace internal 925 } // namespace internal
926 } // namespace v8 926 } // namespace v8
OLDNEW
« no previous file with comments | « src/heap/gc-tracer.h ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698