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 926 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
937 static void VisitObject(HeapObject* obj); | 937 static void VisitObject(HeapObject* obj); |
938 | 938 |
939 friend class UnmarkObjectVisitor; | 939 friend class UnmarkObjectVisitor; |
940 static void UnmarkObject(HeapObject* obj); | 940 static void UnmarkObject(HeapObject* obj); |
941 #endif | 941 #endif |
942 | 942 |
943 Heap* heap_; | 943 Heap* heap_; |
944 MarkingDeque marking_deque_; | 944 MarkingDeque marking_deque_; |
945 CodeFlusher* code_flusher_; | 945 CodeFlusher* code_flusher_; |
946 Object* encountered_weak_maps_; | 946 Object* encountered_weak_maps_; |
| 947 Object* code_to_deoptimize_; |
947 | 948 |
948 List<Page*> evacuation_candidates_; | 949 List<Page*> evacuation_candidates_; |
949 List<Code*> invalidated_code_; | 950 List<Code*> invalidated_code_; |
950 | 951 |
951 friend class Heap; | 952 friend class Heap; |
952 }; | 953 }; |
953 | 954 |
954 | 955 |
955 class MarkBitCellIterator BASE_EMBEDDED { | 956 class MarkBitCellIterator BASE_EMBEDDED { |
956 public: | 957 public: |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1010 private: | 1011 private: |
1011 MarkCompactCollector* collector_; | 1012 MarkCompactCollector* collector_; |
1012 }; | 1013 }; |
1013 | 1014 |
1014 | 1015 |
1015 const char* AllocationSpaceName(AllocationSpace space); | 1016 const char* AllocationSpaceName(AllocationSpace space); |
1016 | 1017 |
1017 } } // namespace v8::internal | 1018 } } // namespace v8::internal |
1018 | 1019 |
1019 #endif // V8_MARK_COMPACT_H_ | 1020 #endif // V8_MARK_COMPACT_H_ |
OLD | NEW |