DescriptionAdd methods to enable configuration of ResourceConstraints based on limits derived at runtime.
Adds ConfigureResourceConstraintsForCurrentPlatform and SetDefaultResourceConstraintsForCurrentPlatform which configure the heap based on the available physical memory, rather than hard-coding by platform as previous. This change also adds OS::TotalPhysicalMemory to platform.h.
BUG=292928
R=danno@chromium.org, hpayer@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=16964
Patch Set 1 #
Total comments: 15
Patch Set 2 : Move device-specific defaults into ConfigureResourceConstraintsForCurrentPlatform #
Total comments: 12
Patch Set 3 : Address Hannes comments. #Patch Set 4 : Move platform code into platform-posix #
Total comments: 5
Patch Set 5 : Split code out of api.cc to defaults.cc #
Total comments: 7
Patch Set 6 : /s/uintptr_t/uint64_t #
Messages
Total messages: 24 (0 generated)
|