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

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

Issue 1426953006: [heap] Separate out optimized code map processing. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix comment. Created 5 years, 1 month 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/mark-compact.h » ('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 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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
OLDNEW
« no previous file with comments | « src/heap/gc-tracer.h ('k') | src/heap/mark-compact.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698