| Summary: | GC may not know about memory used by AudioBufferSourceNode's buffer | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||||||||
| Component: | Web Audio | Assignee: | Chris Dumez <cdumez> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Normal | CC: | cdumez, darin, eric.carlson, esprehn+autocc, ews-watchlist, ggaren, glenn, jer.noble, kondapallykalyan, mark.lam, philipj, saam, sam, sergio, webkit-bug-importer | ||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||
| Version: | WebKit Nightly Build | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=230950 | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Chris Dumez
2021-09-29 10:37:03 PDT
Created attachment 439623 [details]
Patch
Created attachment 439740 [details]
Patch
Created attachment 439743 [details]
Patch
Comment on attachment 439743 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=439743&action=review > Source/WebCore/bindings/js/JSAudioBufferSourceNodeCustom.cpp:40 > + visitor.addOpaqueRoot(wrapped().buffer()); I think this needs a comment. Normally we mark things so we can preserve custom JavaScript property values on the wrapper, not so that garbage collection understands memory use. So this is needed for a subtle reason that someone might not understand. Created attachment 439900 [details]
Patch
Committed r283402 (242405@main): <https://commits.webkit.org/242405@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 439900 [details]. |