Hi everyone,
I’m investigating one issue regarding HTMLAudioElement objects leakage on a cuttherope.ie page on a custom QNX port.
What I’ve found so far is that JS object, holding WebCore::HTMLAudioElement is not deleted.
To be short,
markRoots is called from collectAllGarbage().
In markRoots() the code
m_handleHeap.visitStrongHandles(heapRootVisitor);
visitor.drain();
leads to marking JSHTMLAudioElement as being in use (testAndSetMarked()).
This way, I have a weird situation:
I’ve navigated away from the page but the audio objects are marked as being in use.
Could you please direct me where I should dig further ? What should I check ?
Am I correct that there elements are stored as strong handles ?
Who decides which objects should be weak and which should be strong ?
Thank you for any help.
Andrey