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

Side by Side Diff: src/mark-compact.h

Issue 10831123: Make incremental marking clear ICs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments by Erik Corry. Created 8 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « src/incremental-marking.cc ('k') | src/mark-compact.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 bool reduce_memory_footprint_; 605 bool reduce_memory_footprint_;
606 606
607 bool abort_incremental_marking_; 607 bool abort_incremental_marking_;
608 608
609 // True if we are collecting slots to perform evacuation from evacuation 609 // True if we are collecting slots to perform evacuation from evacuation
610 // candidates. 610 // candidates.
611 bool compacting_; 611 bool compacting_;
612 612
613 bool was_marked_incrementally_; 613 bool was_marked_incrementally_;
614 614
615 bool flush_monomorphic_ics_;
616
617 // A pointer to the current stack-allocated GC tracer object during a full 615 // A pointer to the current stack-allocated GC tracer object during a full
618 // collection (NULL before and after). 616 // collection (NULL before and after).
619 GCTracer* tracer_; 617 GCTracer* tracer_;
620 618
621 SlotsBufferAllocator slots_buffer_allocator_; 619 SlotsBufferAllocator slots_buffer_allocator_;
622 620
623 SlotsBuffer* migration_slots_buffer_; 621 SlotsBuffer* migration_slots_buffer_;
624 622
625 // Finishes GC, performs heap verification if enabled. 623 // Finishes GC, performs heap verification if enabled.
626 void Finish(); 624 void Finish();
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 784
787 friend class Heap; 785 friend class Heap;
788 }; 786 };
789 787
790 788
791 const char* AllocationSpaceName(AllocationSpace space); 789 const char* AllocationSpaceName(AllocationSpace space);
792 790
793 } } // namespace v8::internal 791 } } // namespace v8::internal
794 792
795 #endif // V8_MARK_COMPACT_H_ 793 #endif // V8_MARK_COMPACT_H_
OLDNEW
« no previous file with comments | « src/incremental-marking.cc ('k') | src/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698