| 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 931 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 942 static void VisitObject(HeapObject* obj); | 942 static void VisitObject(HeapObject* obj); |
| 943 | 943 |
| 944 friend class UnmarkObjectVisitor; | 944 friend class UnmarkObjectVisitor; |
| 945 static void UnmarkObject(HeapObject* obj); | 945 static void UnmarkObject(HeapObject* obj); |
| 946 #endif | 946 #endif |
| 947 | 947 |
| 948 Heap* heap_; | 948 Heap* heap_; |
| 949 MarkingDeque marking_deque_; | 949 MarkingDeque marking_deque_; |
| 950 CodeFlusher* code_flusher_; | 950 CodeFlusher* code_flusher_; |
| 951 Object* encountered_weak_collections_; | 951 Object* encountered_weak_collections_; |
| 952 Object* code_to_deoptimize_; | 952 bool have_code_to_deoptimize_; |
| 953 | 953 |
| 954 List<Page*> evacuation_candidates_; | 954 List<Page*> evacuation_candidates_; |
| 955 List<Code*> invalidated_code_; | 955 List<Code*> invalidated_code_; |
| 956 | 956 |
| 957 friend class Heap; | 957 friend class Heap; |
| 958 }; | 958 }; |
| 959 | 959 |
| 960 | 960 |
| 961 class MarkBitCellIterator BASE_EMBEDDED { | 961 class MarkBitCellIterator BASE_EMBEDDED { |
| 962 public: | 962 public: |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1016 private: | 1016 private: |
| 1017 MarkCompactCollector* collector_; | 1017 MarkCompactCollector* collector_; |
| 1018 }; | 1018 }; |
| 1019 | 1019 |
| 1020 | 1020 |
| 1021 const char* AllocationSpaceName(AllocationSpace space); | 1021 const char* AllocationSpaceName(AllocationSpace space); |
| 1022 | 1022 |
| 1023 } } // namespace v8::internal | 1023 } } // namespace v8::internal |
| 1024 | 1024 |
| 1025 #endif // V8_MARK_COMPACT_H_ | 1025 #endif // V8_MARK_COMPACT_H_ |
| OLD | NEW |