| OLD | NEW |
| 1 // Copyright 2011 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 |
| 11 // with the distribution. | 11 // with the distribution. |
| (...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 573 bool sweep_precisely_; | 573 bool sweep_precisely_; |
| 574 | 574 |
| 575 // True if we are collecting slots to perform evacuation from evacuation | 575 // True if we are collecting slots to perform evacuation from evacuation |
| 576 // candidates. | 576 // candidates. |
| 577 bool compacting_; | 577 bool compacting_; |
| 578 | 578 |
| 579 bool was_marked_incrementally_; | 579 bool was_marked_incrementally_; |
| 580 | 580 |
| 581 bool collect_maps_; | 581 bool collect_maps_; |
| 582 | 582 |
| 583 bool flush_monomorphic_ics_; |
| 584 |
| 583 // A pointer to the current stack-allocated GC tracer object during a full | 585 // A pointer to the current stack-allocated GC tracer object during a full |
| 584 // collection (NULL before and after). | 586 // collection (NULL before and after). |
| 585 GCTracer* tracer_; | 587 GCTracer* tracer_; |
| 586 | 588 |
| 587 SlotsBufferAllocator slots_buffer_allocator_; | 589 SlotsBufferAllocator slots_buffer_allocator_; |
| 588 | 590 |
| 589 SlotsBuffer* migration_slots_buffer_; | 591 SlotsBuffer* migration_slots_buffer_; |
| 590 | 592 |
| 591 // Finishes GC, performs heap verification if enabled. | 593 // Finishes GC, performs heap verification if enabled. |
| 592 void Finish(); | 594 void Finish(); |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 745 | 747 |
| 746 friend class Heap; | 748 friend class Heap; |
| 747 }; | 749 }; |
| 748 | 750 |
| 749 | 751 |
| 750 const char* AllocationSpaceName(AllocationSpace space); | 752 const char* AllocationSpaceName(AllocationSpace space); |
| 751 | 753 |
| 752 } } // namespace v8::internal | 754 } } // namespace v8::internal |
| 753 | 755 |
| 754 #endif // V8_MARK_COMPACT_H_ | 756 #endif // V8_MARK_COMPACT_H_ |
| OLD | NEW |