Changeset 75891 in webkit
- Timestamp:
- Jan 15, 2011 9:11:14 PM (13 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r75890 r75891 1 2011-01-15 Geoffrey Garen <ggaren@apple.com> 2 3 Reviewed by Oliver Hunt. 4 5 Rolled back in r75886. 6 https://bugs.webkit.org/show_bug.cgi?id=52527 7 8 r75886 broke the GTK Linux bot because Linux was -- quite surprisingly -- 9 set up to use the constants for embedded devices. 10 11 * jit/ExecutableAllocatorFixedVMPool.cpp: 12 (JSC::maybeModifyVMPoolSize): Separated Linux constants from embedded 13 constants. 14 1 15 2011-01-15 Sheriff Bot <webkit.review.bot@gmail.com> 2 16 -
trunk/Source/JavaScriptCore/jit/ExecutableAllocatorFixedVMPool.cpp
r75890 r75891 43 43 #endif 44 44 45 static const unsigned vmPoolSizeGeneric = 2u * 1024u * 1024u * 1024u; // 2Gb 46 static const unsigned coalesceLimitGeneric = 16u * 1024u * 1024u; // 16Mb 47 48 static const unsigned vmPoolSizeEmbedded = 32u * 1024u * 1024u; // 32Mb 45 static const unsigned vmPoolSizeOvercommit = 2u * 1024u * 1024u * 1024u; // 2Gb 46 static const unsigned coalesceLimitOvercommit = 16u * 1024u * 1024u; // 16Mb 47 48 static const unsigned vmPoolSizeNoOvercommit = 32u * 1024u * 1024u; // 32Mb 49 static const unsigned coalesceLimitNoOvercommit = 4u * 1024u * 1024u; // 4Mb 50 51 static const unsigned vmPoolSizeEmbedded = 16u * 1024u * 1024u; // 16Mb 49 52 static const unsigned coalesceLimitEmbedded = 4u * 1024u * 1024u; // 4Mb 50 53 … … 56 59 // for the overcommit feature at runtime and re-assign the Generic 57 60 // values if it's enabled. 58 static unsigned vmPoolSize = vmPoolSizeGeneric; // 2Gb 59 static unsigned coalesceLimit = coalesceLimitGeneric; // 16Mb 61 static unsigned vmPoolSize = vmPoolSizeOvercommit; 62 static unsigned coalesceLimit = coalesceLimitOvercommit; 63 #elif CPU(ARM) 64 static unsigned vmPoolSize = vmPoolSizeEmbedded; 65 static unsigned coalesceLimit = coalesceLimitEmbedded; 60 66 #else 61 // These limits are hopefully sensible on embedded platforms. 62 static unsigned vmPoolSize = vmPoolSizeEmbedded; // 32Mb 63 static unsigned coalesceLimit = coalesceLimitEmbedded; // 4Mb 67 static unsigned vmPoolSize = vmPoolSizeNoOvercommit; 68 static unsigned coalesceLimit = coalesceLimitNoOvercommit; 64 69 #endif 65 70 … … 459 464 fscanf(fp, "%u", &overcommit); 460 465 if (overcommit == 1) { 461 vmPoolSize = vmPoolSize Generic; // 2Gb462 coalesceLimit = coalesceLimit Generic; // 16Mb466 vmPoolSize = vmPoolSizeOvercommit; 467 coalesceLimit = coalesceLimitOvercommit; 463 468 } 464 469
Note: See TracChangeset
for help on using the changeset viewer.