Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(633)

Side by Side Diff: src/heap/heap.h

Issue 1305733003: Don't filter store buffer after sweeping. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@store-buffer-filtering-for-free
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/heap/heap.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698