OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_HEAP_HEAP_H_ | 5 #ifndef V8_HEAP_HEAP_H_ |
6 #define V8_HEAP_HEAP_H_ | 6 #define V8_HEAP_HEAP_H_ |
7 | 7 |
8 #include <cmath> | 8 #include <cmath> |
9 #include <map> | 9 #include <map> |
10 | 10 |
(...skipping 1411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1422 bool concurrent_sweeping_enabled() { return concurrent_sweeping_enabled_; } | 1422 bool concurrent_sweeping_enabled() { return concurrent_sweeping_enabled_; } |
1423 | 1423 |
1424 inline Isolate* isolate(); | 1424 inline Isolate* isolate(); |
1425 | 1425 |
1426 void CallGCPrologueCallbacks(GCType gc_type, GCCallbackFlags flags); | 1426 void CallGCPrologueCallbacks(GCType gc_type, GCCallbackFlags flags); |
1427 void CallGCEpilogueCallbacks(GCType gc_type, GCCallbackFlags flags); | 1427 void CallGCEpilogueCallbacks(GCType gc_type, GCCallbackFlags flags); |
1428 | 1428 |
1429 inline bool OldGenerationAllocationLimitReached(); | 1429 inline bool OldGenerationAllocationLimitReached(); |
1430 | 1430 |
1431 void QueueMemoryChunkForFree(MemoryChunk* chunk); | 1431 void QueueMemoryChunkForFree(MemoryChunk* chunk); |
| 1432 void FilterStoreBufferEntriesOnAboutToBeFreedPages(); |
1432 void FreeQueuedChunks(); | 1433 void FreeQueuedChunks(); |
1433 | 1434 |
1434 int gc_count() const { return gc_count_; } | 1435 int gc_count() const { return gc_count_; } |
1435 | 1436 |
1436 bool RecentIdleNotificationHappened(); | 1437 bool RecentIdleNotificationHappened(); |
1437 | 1438 |
1438 // Completely clear the Instanceof cache (to stop it keeping objects alive | 1439 // Completely clear the Instanceof cache (to stop it keeping objects alive |
1439 // around a GC). | 1440 // around a GC). |
1440 inline void CompletelyClearInstanceofCache(); | 1441 inline void CompletelyClearInstanceofCache(); |
1441 | 1442 |
(...skipping 1261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2703 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 2704 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
2704 | 2705 |
2705 private: | 2706 private: |
2706 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2707 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
2707 }; | 2708 }; |
2708 #endif // DEBUG | 2709 #endif // DEBUG |
2709 } | 2710 } |
2710 } // namespace v8::internal | 2711 } // namespace v8::internal |
2711 | 2712 |
2712 #endif // V8_HEAP_HEAP_H_ | 2713 #endif // V8_HEAP_HEAP_H_ |
OLD | NEW |