| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |