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

Issue 19859008: move 32 bit heap hint on sunos (Closed)

Created:
7 years, 5 months ago by tjfontaine
Modified:
7 years, 5 months ago
Reviewers:
Benedikt Meurer, Yang
CC:
v8-dev
Base URL:
https://github.com/v8/v8@master
Visibility:
Public.

Description

move 32 bit heap hint on sunos Setting the V8 heap at or near 0x20000000 on 32bit sunos only allows 512 MB of heap space, instead on sunos move this to 0x80000000. To quote the comment For our Solaris/illumos mmap hint, we pick a random address in the bottom half of the top half of the address space (that is, the third quarter). Because we do not MAP_FIXED, this will be treated only as a hint -- the system will not fail to mmap() because something else happens to already be mapped at our random address. We deliberately set the hint high enough to get well above the system's break (that is, the heap); Solaris and illumos will try the hint and if that fails allocate as if there were no hint at all. The high hint prevents the break from getting hemmed in at low values, ceding half of the address space to the system heap. BUG= R=yangguo@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=15870

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -1 line) Patch
M src/platform-posix.cc View 1 chunk +16 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
tjfontaine
We've been floating this patch for nodejs for quite a while without any repercussions, it'd ...
7 years, 5 months ago (2013-07-23 02:42:01 UTC) #1
Yang
On 2013/07/23 02:42:01, tjfontaine wrote: > We've been floating this patch for nodejs for quite ...
7 years, 5 months ago (2013-07-24 14:04:08 UTC) #2
Sven Panne
On 2013/07/24 14:04:08, Yang wrote: > We do have a platform-solaris.cc, where you can find ...
7 years, 5 months ago (2013-07-25 06:10:42 UTC) #3
Benedikt Meurer
Yeah, please don't put anything into the platform-{solaris,linux,macos,*bsd}.cc files anymore.
7 years, 5 months ago (2013-07-25 06:13:14 UTC) #4
Yang
On 2013/07/25 06:13:14, Benedikt Meurer wrote: > Yeah, please don't put anything into the platform-{solaris,linux,macos,*bsd}.cc ...
7 years, 5 months ago (2013-07-25 07:59:43 UTC) #5
Yang
Committed patchset #1 manually as r15870 (presubmit successful).
7 years, 5 months ago (2013-07-25 08:06:19 UTC) #6
tjfontaine
7 years, 5 months ago (2013-07-25 16:50:56 UTC) #7
Message was sent while issue was closed.
On 2013/07/25 08:06:19, Yang wrote:
> Committed patchset #1 manually as r15870 (presubmit successful).

Thanks everyone!

Powered by Google App Engine
This is Rietveld 408576698