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

Issue 445453006: Add comments to vectors/hash sets of raw pointers to on-heap objects used in webaudio/ (Closed)

Created:
6 years, 4 months ago by haraken
Modified:
6 years, 4 months ago
CC:
blink-reviews, Raymond Toy
Project:
blink
Visibility:
Public.

Description

Add comments to vectors/hash sets of raw pointers to on-heap objects used in webaudio/ webaudio/ sometimes has to use vectors/hash sets of raw pointers to on-heap objects, if items are added to those vectors/hash sets by the audio thread. This is because the audio thread is not registered to Oilpan and thus the audio thread is not allowed to expand entries of the vectors/hash sets. This CL adds comments to those vectors/hash sets about why they use off-heap vectors/hash sets of raw pointers. BUG=340522 NOTRY=true Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179552

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -0 lines) Patch
M Source/modules/webaudio/AudioContext.h View 1 5 chunks +12 lines, -0 lines 0 comments Download
M Source/modules/webaudio/AudioNodeInput.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/modules/webaudio/AudioSummingJunction.h View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
haraken
PTAL
6 years, 4 months ago (2014-08-05 13:12:18 UTC) #1
zerny-chromium
lgtm https://codereview.chromium.org/445453006/diff/1/Source/modules/webaudio/AudioContext.h File Source/modules/webaudio/AudioContext.h (right): https://codereview.chromium.org/445453006/diff/1/Source/modules/webaudio/AudioContext.h#newcode362 Source/modules/webaudio/AudioContext.h:362: // we cannot use a HeapVector/HeapHashSet. just HeapVector ...
6 years, 4 months ago (2014-08-05 13:21:09 UTC) #2
haraken
Thanks for review! https://codereview.chromium.org/445453006/diff/1/Source/modules/webaudio/AudioContext.h File Source/modules/webaudio/AudioContext.h (right): https://codereview.chromium.org/445453006/diff/1/Source/modules/webaudio/AudioContext.h#newcode362 Source/modules/webaudio/AudioContext.h:362: // we cannot use a HeapVector/HeapHashSet. ...
6 years, 4 months ago (2014-08-05 13:34:19 UTC) #3
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 4 months ago (2014-08-05 13:34:21 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/445453006/20001
6 years, 4 months ago (2014-08-05 13:35:36 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_dbg on tryserver.blink ...
6 years, 4 months ago (2014-08-05 18:21:00 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-05 20:57:02 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/21071)
6 years, 4 months ago (2014-08-05 20:57:03 UTC) #8
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 4 months ago (2014-08-05 23:16:44 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/445453006/20001
6 years, 4 months ago (2014-08-05 23:19:00 UTC) #10
haraken
The CQ bit was unchecked by haraken@chromium.org
6 years, 4 months ago (2014-08-06 00:44:15 UTC) #11
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 4 months ago (2014-08-06 00:44:19 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/445453006/20001
6 years, 4 months ago (2014-08-06 00:48:53 UTC) #13
commit-bot: I haz the power
6 years, 4 months ago (2014-08-06 00:51:09 UTC) #14
Message was sent while issue was closed.
Change committed as 179552

Powered by Google App Engine
This is Rietveld 408576698