Chromium Code Reviews| 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 722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 733 bool abort_incremental_marking_; | 733 bool abort_incremental_marking_; |
| 734 | 734 |
| 735 MarkingParity marking_parity_; | 735 MarkingParity marking_parity_; |
| 736 | 736 |
| 737 // True if we are collecting slots to perform evacuation from evacuation | 737 // True if we are collecting slots to perform evacuation from evacuation |
| 738 // candidates. | 738 // candidates. |
| 739 bool compacting_; | 739 bool compacting_; |
| 740 | 740 |
| 741 bool was_marked_incrementally_; | 741 bool was_marked_incrementally_; |
| 742 | 742 |
| 743 bool sweeping_pending_; | |
|
Michael Starzinger
2013/02/13 15:16:11
Please add a short comment to this predicate expla
Hannes Payer (out of office)
2013/02/13 15:20:58
Done.
| |
| 744 | |
| 743 // A pointer to the current stack-allocated GC tracer object during a full | 745 // A pointer to the current stack-allocated GC tracer object during a full |
| 744 // collection (NULL before and after). | 746 // collection (NULL before and after). |
| 745 GCTracer* tracer_; | 747 GCTracer* tracer_; |
| 746 | 748 |
| 747 SlotsBufferAllocator slots_buffer_allocator_; | 749 SlotsBufferAllocator slots_buffer_allocator_; |
| 748 | 750 |
| 749 SlotsBuffer* migration_slots_buffer_; | 751 SlotsBuffer* migration_slots_buffer_; |
| 750 | 752 |
| 751 // Finishes GC, performs heap verification if enabled. | 753 // Finishes GC, performs heap verification if enabled. |
| 752 void Finish(); | 754 void Finish(); |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 893 | 895 |
| 894 friend class Heap; | 896 friend class Heap; |
| 895 }; | 897 }; |
| 896 | 898 |
| 897 | 899 |
| 898 const char* AllocationSpaceName(AllocationSpace space); | 900 const char* AllocationSpaceName(AllocationSpace space); |
| 899 | 901 |
| 900 } } // namespace v8::internal | 902 } } // namespace v8::internal |
| 901 | 903 |
| 902 #endif // V8_MARK_COMPACT_H_ | 904 #endif // V8_MARK_COMPACT_H_ |
| OLD | NEW |