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

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

Issue 1412063012: Revert of [heap] Separate out optimized code map processing. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 "
496 "store_buffer_clear=%.1f " 495 "store_buffer_clear=%.1f "
497 "slots_buffer_clear=%.1f " 496 "slots_buffer_clear=%.1f "
498 "sweep=%.2f " 497 "sweep=%.2f "
499 "sweepns=%.2f " 498 "sweepns=%.2f "
500 "sweepos=%.2f " 499 "sweepos=%.2f "
501 "sweepcode=%.2f " 500 "sweepcode=%.2f "
502 "sweepcell=%.2f " 501 "sweepcell=%.2f "
503 "sweepmap=%.2f " 502 "sweepmap=%.2f "
504 "sweepaborted=%.2f " 503 "sweepaborted=%.2f "
505 "evacuate=%.1f " 504 "evacuate=%.1f "
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 current_.scopes[Scope::MC_MARK_FINISH_INCREMENTAL], 551 current_.scopes[Scope::MC_MARK_FINISH_INCREMENTAL],
553 current_.scopes[Scope::MC_MARK_PREPARE_CODE_FLUSH], 552 current_.scopes[Scope::MC_MARK_PREPARE_CODE_FLUSH],
554 current_.scopes[Scope::MC_MARK_ROOT], 553 current_.scopes[Scope::MC_MARK_ROOT],
555 current_.scopes[Scope::MC_MARK_TOPOPT], 554 current_.scopes[Scope::MC_MARK_TOPOPT],
556 current_.scopes[Scope::MC_MARK_RETAIN_MAPS], 555 current_.scopes[Scope::MC_MARK_RETAIN_MAPS],
557 current_.scopes[Scope::MC_MARK_WEAK_CLOSURE], 556 current_.scopes[Scope::MC_MARK_WEAK_CLOSURE],
558 current_.scopes[Scope::MC_MARK_STRING_TABLE], 557 current_.scopes[Scope::MC_MARK_STRING_TABLE],
559 current_.scopes[Scope::MC_MARK_WEAK_REFERENCES], 558 current_.scopes[Scope::MC_MARK_WEAK_REFERENCES],
560 current_.scopes[Scope::MC_MARK_GLOBAL_HANDLES], 559 current_.scopes[Scope::MC_MARK_GLOBAL_HANDLES],
561 current_.scopes[Scope::MC_MARK_CODE_FLUSH], 560 current_.scopes[Scope::MC_MARK_CODE_FLUSH],
562 current_.scopes[Scope::MC_MARK_OPTIMIZED_CODE_MAPS],
563 current_.scopes[Scope::MC_STORE_BUFFER_CLEAR], 561 current_.scopes[Scope::MC_STORE_BUFFER_CLEAR],
564 current_.scopes[Scope::MC_SLOTS_BUFFER_CLEAR], 562 current_.scopes[Scope::MC_SLOTS_BUFFER_CLEAR],
565 current_.scopes[Scope::MC_SWEEP], 563 current_.scopes[Scope::MC_SWEEP],
566 current_.scopes[Scope::MC_SWEEP_NEWSPACE], 564 current_.scopes[Scope::MC_SWEEP_NEWSPACE],
567 current_.scopes[Scope::MC_SWEEP_OLDSPACE], 565 current_.scopes[Scope::MC_SWEEP_OLDSPACE],
568 current_.scopes[Scope::MC_SWEEP_CODE], 566 current_.scopes[Scope::MC_SWEEP_CODE],
569 current_.scopes[Scope::MC_SWEEP_CELL], 567 current_.scopes[Scope::MC_SWEEP_CELL],
570 current_.scopes[Scope::MC_SWEEP_MAP], 568 current_.scopes[Scope::MC_SWEEP_MAP],
571 current_.scopes[Scope::MC_SWEEP_ABORTED], 569 current_.scopes[Scope::MC_SWEEP_ABORTED],
572 current_.scopes[Scope::MC_EVACUATE_PAGES], 570 current_.scopes[Scope::MC_EVACUATE_PAGES],
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
879 877
880 878
881 bool GCTracer::SurvivalEventsRecorded() const { 879 bool GCTracer::SurvivalEventsRecorded() const {
882 return survival_events_.size() > 0; 880 return survival_events_.size() > 0;
883 } 881 }
884 882
885 883
886 void GCTracer::ResetSurvivalEvents() { survival_events_.reset(); } 884 void GCTracer::ResetSurvivalEvents() { survival_events_.reset(); }
887 } // namespace internal 885 } // namespace internal
888 } // namespace v8 886 } // 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