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

Unified Diff: Source/platform/heap/Heap.h

Issue 1315603005: Oilpan: Disable sized heap Base URL: svn://svn.chromium.org/blink/trunk
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/Heap.h
diff --git a/Source/platform/heap/Heap.h b/Source/platform/heap/Heap.h
index d3b4b4d9519c3b7f1e35ff32a2b34ec79e72dec7..652305a7590d6dd0f21b90c4fc57da5c77730067 100644
--- a/Source/platform/heap/Heap.h
+++ b/Source/platform/heap/Heap.h
@@ -402,6 +402,7 @@ protected:
inline int Heap::heapIndexForObjectSize(size_t size)
{
+ /*
if (size < 64) {
if (size < 32)
return ThreadState::NormalPage1HeapIndex;
@@ -410,6 +411,8 @@ inline int Heap::heapIndexForObjectSize(size_t size)
if (size < 128)
return ThreadState::NormalPage3HeapIndex;
return ThreadState::NormalPage4HeapIndex;
+ */
+ return ThreadState::NormalPage1HeapIndex;
}
inline bool Heap::isNormalHeapIndex(int index)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698