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

Unified Diff: src/heap/spaces.h

Issue 2289683002: [heap] Change LO space limit to 512k - page header (Closed)
Patch Set: Add missing test change from previous CL Created 4 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 | « no previous file | src/objects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/spaces.h
diff --git a/src/heap/spaces.h b/src/heap/spaces.h
index 780c148b3ccd6caa3001f19970e926cdced0eaac..d024c4b6a3000e700e7bda19313c92024c764a6c 100644
--- a/src/heap/spaces.h
+++ b/src/heap/spaces.h
@@ -716,7 +716,7 @@ class Page : public MemoryChunk {
// account.
// TODO(hpayer): This limit should be way smaller but we currently have
// short living objects >256K.
- static const int kMaxRegularHeapObjectSize = 600 * KB;
+ static const int kMaxRegularHeapObjectSize = 512 * KB - Page::kHeaderSize;
static inline Page* ConvertNewToOld(Page* old_page, PagedSpace* new_owner);
« no previous file with comments | « no previous file | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698