DescriptionWebAudio: Fix AudioNode leak in a case that AudioNode is not disconnected from the graph explicitly.
The main purpose of this CL is to introduce ThreadState::markAsZombie
and ThreadState::purifyZombies, and to apply them for WebAudio.
Objects marked as zombies are not finalized until purifyZombies is
called.
This CL also adds MarkingTasks, which enable to run tasks before/
after Oilpan marking. AudioContext implements MarkingTask in order to
call purifyZombie before marking, and simplify AudioContext::trace.
BUG=434136, 455993
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190366
Patch Set 1 #Patch Set 2 : New marking mode, simpify WebAudio code #
Total comments: 8
Patch Set 3 : Move removeMarkingTask to uninitialize() #Patch Set 4 : rebase #Patch Set 5 : rebase #
Total comments: 3
Messages
Total messages: 24 (4 generated)
|