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

Issue 2691163002: Added external memory counting for IDBValue (Closed)

Created:
3 years, 10 months ago by dmurph
Modified:
3 years, 10 months ago
CC:
blink-reviews, chromium-reviews, jsbell+idb_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Cleaned up #

Total comments: 3

Patch Set 3 : comments #

Total comments: 1

Patch Set 4 : fixed signed int #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -6 lines) Patch
M third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp View 1 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBValue.h View 1 2 3 3 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp View 1 2 3 4 chunks +16 lines, -3 lines 2 comments Download

Messages

Total messages: 37 (21 generated)
dmurph
3 years, 10 months ago (2017-02-14 00:54:13 UTC) #3
cmumford
https://codereview.chromium.org/2691163002/diff/20001/third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp File third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp (right): https://codereview.chromium.org/2691163002/diff/20001/third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp#newcode61 third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp:61: if (m_data && m_externalAllocatedSize) { How about instead having ...
3 years, 10 months ago (2017-02-14 00:59:24 UTC) #7
dmurph
https://codereview.chromium.org/2691163002/diff/20001/third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp File third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp (right): https://codereview.chromium.org/2691163002/diff/20001/third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp#newcode61 third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp:61: if (m_data && m_externalAllocatedSize) { On 2017/02/14 00:59:24, cmumford ...
3 years, 10 months ago (2017-02-14 01:10:01 UTC) #8
jsbell
https://codereview.chromium.org/2691163002/diff/20001/third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp File third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp (right): https://codereview.chromium.org/2691163002/diff/20001/third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp#newcode90 third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp:90: return SerializedScriptValue::create(m_data->data(), m_data->size()); Note that this does a data ...
3 years, 10 months ago (2017-02-14 01:11:35 UTC) #12
cmumford
lgtm
3 years, 10 months ago (2017-02-14 01:13:19 UTC) #13
dmurph
On 2017/02/14 01:11:35, jsbell wrote: > https://codereview.chromium.org/2691163002/diff/20001/third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp > File third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp (right): > > https://codereview.chromium.org/2691163002/diff/20001/third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp#newcode90 > ...
3 years, 10 months ago (2017-02-14 01:16:10 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2691163002/40001
3 years, 10 months ago (2017-02-14 01:19:07 UTC) #17
dmurph
+esprehn for third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp
3 years, 10 months ago (2017-02-14 01:19:39 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/363431)
3 years, 10 months ago (2017-02-14 01:28:34 UTC) #21
cmumford
https://codereview.chromium.org/2691163002/diff/40001/third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp File third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp (right): https://codereview.chromium.org/2691163002/diff/40001/third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp#newcode63 third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp:63: static_cast<int64_t>(-m_externalAllocatedSize)); Doh! this is unsigned - missed that.
3 years, 10 months ago (2017-02-14 01:38:26 UTC) #22
esprehn
lgtm
3 years, 10 months ago (2017-02-14 01:51:29 UTC) #23
haraken
LGTM with a comment. https://codereview.chromium.org/2691163002/diff/60001/third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp File third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp (right): https://codereview.chromium.org/2691163002/diff/60001/third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp#newcode23 third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp:23: v8::Isolate::GetCurrent()->AdjustAmountOfExternalAllocatedMemory( We want to deprecate ...
3 years, 10 months ago (2017-02-14 02:16:09 UTC) #25
cmumford
If there are no objections I'd like to land this as-is, being that it's a ...
3 years, 10 months ago (2017-02-14 02:53:50 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2691163002/60001
3 years, 10 months ago (2017-02-14 03:07:35 UTC) #33
haraken
On 2017/02/14 02:53:50, cmumford wrote: > If there are no objections I'd like to land ...
3 years, 10 months ago (2017-02-14 03:44:02 UTC) #34
commit-bot: I haz the power
3 years, 10 months ago (2017-02-14 05:28:55 UTC) #37
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/e7d64d6da7a8f523925a5ed80c3a...

Powered by Google App Engine
This is Rietveld 408576698