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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 55 |
56 private: | 56 private: |
57 Isolate* isolate_; | 57 Isolate* isolate_; |
58 Heap* heap_; | 58 Heap* heap_; |
59 MarkCompactCollector* collector_; | 59 MarkCompactCollector* collector_; |
60 Semaphore start_sweeping_semaphore_; | 60 Semaphore start_sweeping_semaphore_; |
61 Semaphore end_sweeping_semaphore_; | 61 Semaphore end_sweeping_semaphore_; |
62 Semaphore stop_semaphore_; | 62 Semaphore stop_semaphore_; |
63 FreeList free_list_old_data_space_; | 63 FreeList free_list_old_data_space_; |
64 FreeList free_list_old_pointer_space_; | 64 FreeList free_list_old_pointer_space_; |
65 FreeList private_free_list_old_data_space_; | |
66 FreeList private_free_list_old_pointer_space_; | |
67 volatile AtomicWord stop_thread_; | 65 volatile AtomicWord stop_thread_; |
68 }; | 66 }; |
69 | 67 |
70 } } // namespace v8::internal | 68 } } // namespace v8::internal |
71 | 69 |
72 #endif // V8_SWEEPER_THREAD_H_ | 70 #endif // V8_SWEEPER_THREAD_H_ |
OLD | NEW |