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

Issue 29053002: Provide a mechanism for the embedder to set a TotalPhysicalMemory callback function. (Closed)

Created:
7 years, 2 months ago by rmcilroy
Modified:
7 years, 2 months ago
CC:
v8-dev, Paweł Hajdan Jr.
Visibility:
Public.

Description

Provide a mechanism for the embedder to set a TotalPhysicalMemory callback function. This is necessary due to the fact that sysconf (used by OS::TotalPhysicalMemory) is blocked by the Chromium renderer's sandbox. BUG=None

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -2 lines) Patch
M include/v8.h View 2 chunks +9 lines, -1 line 0 comments Download
M src/api.cc View 1 chunk +6 lines, -0 lines 1 comment Download
M src/defaults.cc View 1 chunk +9 lines, -1 line 0 comments Download
M src/isolate.h View 2 chunks +5 lines, -0 lines 0 comments Download
M src/isolate.cc View 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
rmcilroy
Jakob: I chatted with Daniel and we decided to go with the callback mechanism. PTAL.
7 years, 2 months ago (2013-10-18 13:02:53 UTC) #1
Benedikt Meurer
The whole idea of adding the total physical memory stuff to V8 was that we ...
7 years, 2 months ago (2013-10-21 07:05:54 UTC) #2
Sven Panne
NOT LGTM. The API is wrong, and the whole concept is a bit strange: I ...
7 years, 2 months ago (2013-10-21 07:11:04 UTC) #3
rmcilroy
On 2013/10/21 07:11:04, Sven Panne wrote: > NOT LGTM. The API is wrong, and the ...
7 years, 2 months ago (2013-10-21 10:16:50 UTC) #4
rmcilroy
7 years, 2 months ago (2013-10-24 13:53:53 UTC) #5
Dropping this in favour of https://codereview.chromium.org/40233002/ as
discussed offline.

Powered by Google App Engine
This is Rietveld 408576698