| 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 698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 709 void ClearMarkbits(); | 709 void ClearMarkbits(); |
| 710 | 710 |
| 711 bool abort_incremental_marking() const { return abort_incremental_marking_; } | 711 bool abort_incremental_marking() const { return abort_incremental_marking_; } |
| 712 | 712 |
| 713 bool is_compacting() const { return compacting_; } | 713 bool is_compacting() const { return compacting_; } |
| 714 | 714 |
| 715 MarkingParity marking_parity() { return marking_parity_; } | 715 MarkingParity marking_parity() { return marking_parity_; } |
| 716 | 716 |
| 717 // Concurrent and parallel sweeping support. | 717 // Concurrent and parallel sweeping support. |
| 718 void SweepInParallel(PagedSpace* space, | 718 void SweepInParallel(PagedSpace* space, |
| 719 FreeList* private_free_list, | |
| 720 FreeList* free_list); | 719 FreeList* free_list); |
| 721 | 720 |
| 722 void WaitUntilSweepingCompleted(); | 721 void WaitUntilSweepingCompleted(); |
| 723 | 722 |
| 724 intptr_t StealMemoryFromSweeperThreads(PagedSpace* space); | 723 intptr_t StealMemoryFromSweeperThreads(PagedSpace* space); |
| 725 | 724 |
| 726 bool AreSweeperThreadsActivated(); | 725 bool AreSweeperThreadsActivated(); |
| 727 | 726 |
| 728 bool IsConcurrentSweepingInProgress(); | 727 bool IsConcurrentSweepingInProgress(); |
| 729 | 728 |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1019 private: | 1018 private: |
| 1020 MarkCompactCollector* collector_; | 1019 MarkCompactCollector* collector_; |
| 1021 }; | 1020 }; |
| 1022 | 1021 |
| 1023 | 1022 |
| 1024 const char* AllocationSpaceName(AllocationSpace space); | 1023 const char* AllocationSpaceName(AllocationSpace space); |
| 1025 | 1024 |
| 1026 } } // namespace v8::internal | 1025 } } // namespace v8::internal |
| 1027 | 1026 |
| 1028 #endif // V8_MARK_COMPACT_H_ | 1027 #endif // V8_MARK_COMPACT_H_ |
| OLD | NEW |