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

Unified Diff: src/heap/slots-buffer.h

Issue 1341973003: [heap] Scalable slots buffer for parallel compaction. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/heap/mark-compact.cc ('k') | src/heap/slots-buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/slots-buffer.h
diff --git a/src/heap/slots-buffer.h b/src/heap/slots-buffer.h
index 586ec3f929730d953df3400b1c64a11c0bbc8fe5..dc6c92296375e4428ecee0f2d2818112921f0445 100644
--- a/src/heap/slots-buffer.h
+++ b/src/heap/slots-buffer.h
@@ -122,14 +122,6 @@ class SlotsBuffer {
return buffer != NULL && buffer->chain_length_ >= kChainLengthThreshold;
}
- INLINE(static bool AddToSynchronized(SlotsBufferAllocator* allocator,
- SlotsBuffer** buffer_address,
- base::Mutex* buffer_mutex,
- ObjectSlot slot, AdditionMode mode)) {
- base::LockGuard<base::Mutex> lock_guard(buffer_mutex);
- return AddTo(allocator, buffer_address, slot, mode);
- }
-
INLINE(static bool AddTo(SlotsBufferAllocator* allocator,
SlotsBuffer** buffer_address, ObjectSlot slot,
AdditionMode mode)) {
@@ -148,11 +140,6 @@ class SlotsBuffer {
static bool IsTypedSlot(ObjectSlot slot);
- static bool AddToSynchronized(SlotsBufferAllocator* allocator,
- SlotsBuffer** buffer_address,
- base::Mutex* buffer_mutex, SlotType type,
- Address addr, AdditionMode mode);
-
static bool AddTo(SlotsBufferAllocator* allocator,
SlotsBuffer** buffer_address, SlotType type, Address addr,
AdditionMode mode);
« no previous file with comments | « src/heap/mark-compact.cc ('k') | src/heap/slots-buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698