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

Issue 228923002: Allow the embedder to pass the virtual memory limit to v8 (Closed)

Created:
6 years, 8 months ago by jochen (gone - plz use gerrit)
Modified:
6 years, 8 months ago
CC:
v8-dev, Paweł Hajdan Jr.
Visibility:
Public.

Description

Allow the embedder to pass the virtual memory limit to v8 The getrlimit() call might be sandboxed, so it's not safe to use it. BUG=none R=mstarzinger@chromium.org LOG=y Committed: https://code.google.com/p/v8/source/detail?r=20615

Patch Set 1 #

Patch Set 2 : updates #

Patch Set 3 : updates #

Total comments: 7

Patch Set 4 : updates #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -29 lines) Patch
M include/v8.h View 1 3 chunks +13 lines, -0 lines 2 comments Download
M src/api.cc View 1 2 3 3 chunks +15 lines, -3 lines 0 comments Download
M src/d8.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/heap.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/heap.cc View 1 2 3 6 chunks +9 lines, -20 lines 0 comments Download
M src/spaces.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/spaces.cc View 1 2 3 2 chunks +13 lines, -2 lines 0 comments Download
M test/cctest/test-mark-compact.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jochen (gone - plz use gerrit)
6 years, 8 months ago (2014-04-08 17:39:05 UTC) #1
jochen (gone - plz use gerrit)
ptal
6 years, 8 months ago (2014-04-08 17:42:13 UTC) #2
jochen (gone - plz use gerrit)
updated to have less defaults all over the place
6 years, 8 months ago (2014-04-09 11:28:09 UTC) #3
Michael Starzinger
LGTM, only nits left. Thanks for addressing my verbal comments already. https://codereview.chromium.org/228923002/diff/40001/src/heap.cc File src/heap.cc (right): ...
6 years, 8 months ago (2014-04-09 12:03:04 UTC) #4
jochen (gone - plz use gerrit)
https://codereview.chromium.org/228923002/diff/40001/src/heap.cc File src/heap.cc (right): https://codereview.chromium.org/228923002/diff/40001/src/heap.cc#newcode6372 src/heap.cc:6372: // On 64-bit platform(s), we put all code objects ...
6 years, 8 months ago (2014-04-09 12:44:56 UTC) #5
jochen (gone - plz use gerrit)
Committed patchset #4 manually as r20615 (presubmit successful).
6 years, 8 months ago (2014-04-09 12:46:05 UTC) #6
Paweł Hajdan Jr.
Drive-by with a suggestion. https://codereview.chromium.org/228923002/diff/60001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/228923002/diff/60001/include/v8.h#newcode3962 include/v8.h:3962: // Deprecated. Shouldn't this use ...
6 years, 8 months ago (2014-04-17 13:59:53 UTC) #7
jochen (gone - plz use gerrit)
6 years, 8 months ago (2014-04-17 14:01:47 UTC) #8
Message was sent while issue was closed.
https://codereview.chromium.org/228923002/diff/60001/include/v8.h
File include/v8.h (right):

https://codereview.chromium.org/228923002/diff/60001/include/v8.h#newcode3962
include/v8.h:3962: // Deprecated.
On 2014/04/17 13:59:53, Paweł Hajdan Jr. wrote:
> Shouldn't this use V8_DEPRECATED?

No, because then it wouldn't compile. We first have to introduce the new API and
switch chrome to the new API, before we can use V8_DEPRECATED on the old API.

Powered by Google App Engine
This is Rietveld 408576698