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

Issue 310393003: Move most of the implementation of AdjustAmountOfExternalMemory to v8.h (Closed)

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

Description

Move most of the implementation of AdjustAmountOfExternalMemory to v8.h This reduces the overhead of reporting allocations to v8 to an acceptable level. BUG=none LOG=n R=dcarney@chromium.org, hpayer@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=21688

Patch Set 1 #

Total comments: 6

Patch Set 2 : updates #

Patch Set 3 : updates #

Total comments: 2

Patch Set 4 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -80 lines) Patch
M include/v8.h View 1 2 3 5 chunks +37 lines, -2 lines 0 comments Download
M src/api.cc View 1 2 3 1 chunk +3 lines, -4 lines 0 comments Download
M src/flag-definitions.h View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M src/heap.h View 1 2 3 3 chunks +7 lines, -16 lines 0 comments Download
M src/heap.cc View 1 2 4 chunks +4 lines, -10 lines 0 comments Download
M src/heap-inl.h View 1 2 3 1 chunk +0 lines, -42 lines 0 comments Download
M src/isolate.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M src/runtime.cc View 1 2 3 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
jochen (gone - plz use gerrit)
6 years, 6 months ago (2014-06-04 11:07:23 UTC) #1
Hannes Payer (out of office)
https://codereview.chromium.org/310393003/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/310393003/diff/1/include/v8.h#newcode6614 include/v8.h:6614: 192 * 1024 * 1024) { 192? Please don't ...
6 years, 6 months ago (2014-06-04 11:24:49 UTC) #2
jochen (gone - plz use gerrit)
https://codereview.chromium.org/310393003/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/310393003/diff/1/include/v8.h#newcode6614 include/v8.h:6614: 192 * 1024 * 1024) { On 2014/06/04 11:24:49, ...
6 years, 6 months ago (2014-06-04 11:41:24 UTC) #3
jochen (gone - plz use gerrit)
https://codereview.chromium.org/310393003/diff/40001/src/heap-inl.h File src/heap-inl.h (left): https://codereview.chromium.org/310393003/diff/40001/src/heap-inl.h#oldcode535 src/heap-inl.h:535: // Avoid overflow. note that signed overflow is undefined, ...
6 years, 6 months ago (2014-06-04 11:53:07 UTC) #4
jochen (gone - plz use gerrit)
now it even compiles :)
6 years, 6 months ago (2014-06-04 11:58:23 UTC) #5
dcarney
lgtm
6 years, 6 months ago (2014-06-04 12:02:43 UTC) #6
Hannes Payer (out of office)
https://codereview.chromium.org/310393003/diff/40001/src/heap-inl.h File src/heap-inl.h (right): https://codereview.chromium.org/310393003/diff/40001/src/heap-inl.h#newcode530 src/heap-inl.h:530: int64_t Heap::AdjustAmountOfExternalAllocatedMemory( Why don't we get rid of this ...
6 years, 6 months ago (2014-06-04 12:18:30 UTC) #7
jochen (gone - plz use gerrit)
On 2014/06/04 12:18:30, Hannes Payer wrote: > https://codereview.chromium.org/310393003/diff/40001/src/heap-inl.h > File src/heap-inl.h (right): > > https://codereview.chromium.org/310393003/diff/40001/src/heap-inl.h#newcode530 ...
6 years, 6 months ago (2014-06-04 13:43:23 UTC) #8
jochen (gone - plz use gerrit)
version without heap-inl.h implementation
6 years, 6 months ago (2014-06-04 14:37:09 UTC) #9
Hannes Payer (out of office)
lgtm
6 years, 6 months ago (2014-06-05 08:11:28 UTC) #10
jochen (gone - plz use gerrit)
6 years, 6 months ago (2014-06-05 08:44:50 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 manually as r21688 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698