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 1219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1230 return &global_contexts_list_; | 1230 return &global_contexts_list_; |
1231 } | 1231 } |
1232 | 1232 |
1233 #ifdef DEBUG | 1233 #ifdef DEBUG |
1234 void Print(); | 1234 void Print(); |
1235 void PrintHandles(); | 1235 void PrintHandles(); |
1236 | 1236 |
1237 // Verify the heap is in its normal state before or after a GC. | 1237 // Verify the heap is in its normal state before or after a GC. |
1238 void Verify(); | 1238 void Verify(); |
1239 | 1239 |
1240 // Verify that AccessorPairs are not shared, i.e. make sure that they have | |
1241 // exactly one pointer to them. | |
1242 void VerifyNoAccessorPairSharing(); | |
1243 | |
1244 void OldPointerSpaceCheckStoreBuffer(); | 1240 void OldPointerSpaceCheckStoreBuffer(); |
1245 void MapSpaceCheckStoreBuffer(); | 1241 void MapSpaceCheckStoreBuffer(); |
1246 void LargeObjectSpaceCheckStoreBuffer(); | 1242 void LargeObjectSpaceCheckStoreBuffer(); |
1247 | 1243 |
1248 // Report heap statistics. | 1244 // Report heap statistics. |
1249 void ReportHeapStatistics(const char* title); | 1245 void ReportHeapStatistics(const char* title); |
1250 void ReportCodeStatistics(const char* title); | 1246 void ReportCodeStatistics(const char* title); |
1251 | 1247 |
1252 // Fill in bogus values in from space | 1248 // Fill in bogus values in from space |
1253 void ZapFromSpace(); | 1249 void ZapFromSpace(); |
(...skipping 1447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2701 AssertNoAllocation no_alloc; // i.e. no gc allowed. | 2697 AssertNoAllocation no_alloc; // i.e. no gc allowed. |
2702 | 2698 |
2703 private: | 2699 private: |
2704 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2700 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
2705 }; | 2701 }; |
2706 #endif // DEBUG || LIVE_OBJECT_LIST | 2702 #endif // DEBUG || LIVE_OBJECT_LIST |
2707 | 2703 |
2708 } } // namespace v8::internal | 2704 } } // namespace v8::internal |
2709 | 2705 |
2710 #endif // V8_HEAP_H_ | 2706 #endif // V8_HEAP_H_ |
OLD | NEW |