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

Issue 1632753002: Report PeriodicWave memory usage to v8 so GC can be properly scheduled (Closed)

Created:
4 years, 11 months ago by Daniel Bratell
Modified:
4 years, 11 months ago
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Report PeriodicWave memory usage to v8 so GC can be properly scheduled A PeriodicWave object can use half a MB and v8 needs to know about that or it will not schedule garbage collects when memory usage increases. BUG=578351 Committed: https://crrev.com/1619b2cef936f9937c9cccf09518a49db2bf80a7 Cr-Commit-Position: refs/heads/master@{#371777}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Added virtual #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -2 lines) Patch
M third_party/WebKit/Source/modules/webaudio/PeriodicWave.h View 1 3 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/PeriodicWave.cpp View 4 chunks +17 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (5 generated)
Daniel Bratell
rtoy, can you please take a look?
4 years, 11 months ago (2016-01-25 17:30:23 UTC) #2
Raymond Toy
On 2016/01/25 17:30:23, Daniel Bratell wrote: > rtoy, can you please take a look? lgtm, ...
4 years, 11 months ago (2016-01-25 17:37:45 UTC) #3
hongchan
On 2016/01/25 17:37:45, Raymond Toy wrote: > On 2016/01/25 17:30:23, Daniel Bratell wrote: > > ...
4 years, 11 months ago (2016-01-25 17:43:58 UTC) #4
Daniel Bratell
On 2016/01/25 17:43:58, hoch wrote: > On 2016/01/25 17:37:45, Raymond Toy wrote: > > On ...
4 years, 11 months ago (2016-01-26 10:57:51 UTC) #5
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1632753002/diff/1/third_party/WebKit/Source/modules/webaudio/PeriodicWave.cpp File third_party/WebKit/Source/modules/webaudio/PeriodicWave.cpp (right): https://codereview.chromium.org/1632753002/diff/1/third_party/WebKit/Source/modules/webaudio/PeriodicWave.cpp#newcode174 third_party/WebKit/Source/modules/webaudio/PeriodicWave.cpp:174: v8::Isolate::GetCurrent()->AdjustAmountOfExternalAllocatedMemory(delta); mainThreadIsolate() https://codereview.chromium.org/1632753002/diff/1/third_party/WebKit/Source/modules/webaudio/PeriodicWave.h File third_party/WebKit/Source/modules/webaudio/PeriodicWave.h (right): https://codereview.chromium.org/1632753002/diff/1/third_party/WebKit/Source/modules/webaudio/PeriodicWave.h#newcode51 third_party/WebKit/Source/modules/webaudio/PeriodicWave.h:51: ~PeriodicWave(); ...
4 years, 11 months ago (2016-01-26 15:33:56 UTC) #7
Daniel Bratell
https://codereview.chromium.org/1632753002/diff/1/third_party/WebKit/Source/modules/webaudio/PeriodicWave.cpp File third_party/WebKit/Source/modules/webaudio/PeriodicWave.cpp (right): https://codereview.chromium.org/1632753002/diff/1/third_party/WebKit/Source/modules/webaudio/PeriodicWave.cpp#newcode174 third_party/WebKit/Source/modules/webaudio/PeriodicWave.cpp:174: v8::Isolate::GetCurrent()->AdjustAmountOfExternalAllocatedMemory(delta); On 2016/01/26 15:33:55, jochen wrote: > mainThreadIsolate() Is ...
4 years, 11 months ago (2016-01-26 16:19:13 UTC) #8
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1632753002/diff/1/third_party/WebKit/Source/modules/webaudio/PeriodicWave.cpp File third_party/WebKit/Source/modules/webaudio/PeriodicWave.cpp (right): https://codereview.chromium.org/1632753002/diff/1/third_party/WebKit/Source/modules/webaudio/PeriodicWave.cpp#newcode174 third_party/WebKit/Source/modules/webaudio/PeriodicWave.cpp:174: v8::Isolate::GetCurrent()->AdjustAmountOfExternalAllocatedMemory(delta); I'm trying to get rid of this method ...
4 years, 11 months ago (2016-01-26 17:11:51 UTC) #9
jochen (gone - plz use gerrit)
lgtm
4 years, 11 months ago (2016-01-27 07:31:56 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1632753002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1632753002/20001
4 years, 11 months ago (2016-01-27 10:45:34 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 11 months ago (2016-01-27 12:11:40 UTC) #14
commit-bot: I haz the power
4 years, 11 months ago (2016-01-27 12:12:30 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1619b2cef936f9937c9cccf09518a49db2bf80a7
Cr-Commit-Position: refs/heads/master@{#371777}

Powered by Google App Engine
This is Rietveld 408576698