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

Unified Diff: third_party/WebKit/Source/platform/PartitionAllocMemoryDumpProvider.h

Issue 2890363003: Enable sharding of AllocationRegister on desktop. (Closed)
Patch Set: comment from primiano. Created 3 years, 7 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
Index: third_party/WebKit/Source/platform/PartitionAllocMemoryDumpProvider.h
diff --git a/third_party/WebKit/Source/platform/PartitionAllocMemoryDumpProvider.h b/third_party/WebKit/Source/platform/PartitionAllocMemoryDumpProvider.h
index eb379de310ce5152e55d8bd1513d788b811e1059..f2be837dd561cdcf8534f33178b38312421daee3 100644
--- a/third_party/WebKit/Source/platform/PartitionAllocMemoryDumpProvider.h
+++ b/third_party/WebKit/Source/platform/PartitionAllocMemoryDumpProvider.h
@@ -7,13 +7,12 @@
#include "base/trace_event/memory_dump_provider.h"
#include "platform/wtf/Noncopyable.h"
-#include "platform/wtf/ThreadingPrimitives.h"
#include "public/platform/WebCommon.h"
namespace base {
namespace trace_event {
-class AllocationRegister;
+class ShardedAllocationRegister;
} // namespace trace_event
} // namespace base
@@ -42,9 +41,8 @@ class BLINK_PLATFORM_EXPORT PartitionAllocMemoryDumpProvider final
private:
PartitionAllocMemoryDumpProvider();
- Mutex allocation_register_mutex_;
- std::unique_ptr<base::trace_event::AllocationRegister> allocation_register_;
- bool is_heap_profiling_enabled_;
+ std::unique_ptr<base::trace_event::ShardedAllocationRegister>
+ allocation_register_;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698