[Webkit-unassigned] [Bug 224193] New: WebSocketChannel buffers use memory after going idle

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 5 11:39:09 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=224193

            Bug ID: 224193
           Summary: WebSocketChannel buffers use memory after going idle
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: simon.fraser at apple.com

After loading Facebook, opening messenger, and then dumping stats:

Wasted capacity: 64586 bytes (used 0 of 64586 bytes, utilization: 0.00%) - 1 allocations, entry size 1 bytes
5   0x11b5e6858 WTF::VectorBuffer<char, 0ul, WTF::FastMalloc>::VectorBuffer()
6   0x11b5e6818 WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>::Vector()
7   0x11b5e6355 WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>::Vector()
8   0x11dbcdb50 WebCore::WebSocketChannel::WebSocketChannel(WebCore::Document&, WebCore::WebSocketChannelClient&, WebCore::SocketProvider&)
9   0x11dbce07d WebCore::WebSocketChannel::WebSocketChannel(WebCore::Document&, WebCore::WebSocketChannelClient&, WebCore::SocketProvider&)
10  0x11dbc6f6b WebCore::WebSocketChannel::create(WebCore::Document&, WebCore::WebSocketChannelClient&, WebCore::SocketProvider&)
11  0x11dbc6efe WebCore::ThreadableWebSocketChannel::create(WebCore::Document&, WebCore::WebSocketChannelClient&, WebCore::SocketProvider&)
12  0x11dbc70b1 WebCore::ThreadableWebSocketChannel::create(WebCore::ScriptExecutionContext&, WebCore::WebSocketChannelClient&, WebCore::SocketProvider&)
13  0x11dbca216 WebCore::WebSocket::connect(WTF::String const&, WTF::Vector<WTF::String, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc> const&)
14  0x11dbc978b WebCore::WebSocket::create(WebCore::ScriptExecutionContext&, WTF::String const&, WTF::Vector<WTF::String, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc> const&)
15  0x11cdd1bdb WebCore::constructJSWebSocket1(JSC::JSGlobalObject*, JSC::CallFrame*)
16  0x11cdd16bd WebCore::JSDOMConstructor<WebCore::JSWebSocket>::construct(JSC::JSGlobalObject*, JSC::CallFrame*)
17  0x13aa379b5 JSC::NativeFunction::operator()(JSC::JSGlobalObject*, JSC::CallFrame*)
18  0x13aa378c2 JSC::TaggedNativeFunction::operator()(JSC::JSGlobalObject*, JSC::CallFrame*)
19  0x13aaba43a JSC::LLInt::handleHostCall(JSC::CallFrame*, JSC::JSValue, JSC::CodeSpecializationKind)
20  0x13aab948a JSC::LLInt::setUpCall(JSC::CallFrame*, JSC::CodeSpecializationKind, JSC::JSValue, JSC::LLIntCallLinkInfo*)
21  0x13aaaa443 JSC::SlowPathReturnType JSC::LLInt::genericCall<JSC::OpConstruct>(JSC::CodeBlock*, JSC::CallFrame*, JSC::OpConstruct&&, JSC::CodeSpecializationKind, unsigned int)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210405/6358fc02/attachment-0001.htm>


More information about the webkit-unassigned mailing list