Skip to content

Instantly share code, notes, and snippets.

@tanriol
Last active September 10, 2019 23:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tanriol/c9d8cad11a65dd3b3d4ac22f479af017 to your computer and use it in GitHub Desktop.
Save tanriol/c9d8cad11a65dd3b3d4ac22f479af017 to your computer and use it in GitHub Desktop.
partial DMD log
(double-reported entries)
Unreported {
3,124,277 blocks in heap block record 1 of 3,785
201,845,776 bytes (192,610,894 requested / 9,234,882 slop)
Individual block sizes: 2,048 x 40; 1,024 x 2,759; 512 x 10,197; 496; 480 x 4; 464 x 2; 448 x 25; 432 x 11; 416 x 6,644; 400; 384 x 323; 368 x 12; 352 x 12; 336 x 8; 320 x 86; 304 x 12; 288 x 26; 272 x 56; 256 x 39,045; 240 x 34; 224 x 44,790; 208 x 57,749; 192 x 87; 176 x 15,714; 160 x 58,827; 144 x 96,916; 128 x 110,583; 112 x 39,621; 96 x 66,979; 80 x 80,077; 64 x 693,719; 48 x 283,836; 32 x 1,197,384; 16 x 278,697; 8 x 40,000
29.70% of the heap (29.70% cumulative)
31.76% of unreported (31.76% cumulative)
Allocated at {
#01: (no stack trace recorded due to --stacks=partial)
}
}
Unreported {
21,812 blocks in heap block record 2 of 3,785
178,683,904 bytes (178,683,904 requested / 0 slop)
Individual block sizes: 8,192 x 21,812
26.29% of the heap (56.00% cumulative)
28.12% of unreported (59.88% cumulative)
Allocated at {
#01: replace_malloc(unsigned long) (/tmp/tmpjlDcls/firefox/firefox-bin)
#02: malloc (/tmp/tmpjlDcls/firefox/firefox-bin)
#03: nsTSubstring<char>::StartBulkWriteImpl(unsigned int, unsigned int, bool, unsigned int, unsigned int, unsigned int) (/tmp/tmpjlDcls/firefox/libxul.so)
#04: nsTSubstring<char>::SetLength(unsigned int) (/tmp/tmpjlDcls/firefox/libxul.so)
#05: IPC::ParamTraits<nsTSubstring<char> >::Read(IPC::Message const*, PickleIterator*, nsTSubstring<char>*) (/tmp/tmpjlDcls/firefox/libxul.so)
#06: bool mozilla::ipc::ReadIPDLParam<mozilla::ipc::IPCChannelInfo>(IPC::Message const*, PickleIterator*, mozilla::ipc::IProtocol*, mozilla::ipc::IPCChannelInfo*) (/tmp/tmpjlDcls/firefox/libxul.so)
#07: bool mozilla::ipc::ReadIPDLParam<mozilla::dom::cache::CacheResponse>(IPC::Message const*, PickleIterator*, mozilla::ipc::IProtocol*, mozilla::dom::cache::CacheResponse*) (/tmp/tmpjlDcls/firefox/libxul.so)
#08: mozilla::ipc::IPDLParamTraits<mozilla::Maybe<mozilla::dom::cache::CacheResponse> >::Read(IPC::Message const*, PickleIterator*, mozilla::ipc::IProtocol*, mozilla::Maybe<mozilla::dom::cache::CacheResponse>*) (/tmp/tmpjlDcls/firefox/libxul.so)
}
}
Unreported {
20,796 blocks in heap block record 3 of 3,785
42,590,208 bytes (39,429,216 requested / 3,160,992 slop)
Individual block sizes: 2,048 x 20,796
6.27% of the heap (62.26% cumulative)
6.70% of unreported (66.59% cumulative)
Allocated at {
#01: replace_malloc(unsigned long) (/tmp/tmpjlDcls/firefox/firefox-bin)
#02: moz_xmalloc (/tmp/tmpjlDcls/firefox/firefox-bin)
#03: mozilla::net::nsHttpHandler::NewProxiedChannel(nsIURI*, nsIProxyInfo*, unsigned int, nsIURI*, nsILoadInfo*, nsIChannel**) (/tmp/tmpjlDcls/firefox/libxul.so)
#04: mozilla::net::nsIOService::NewChannelFromURIWithProxyFlagsInternal(nsIURI*, nsIURI*, unsigned int, nsILoadInfo*, nsIChannel**) (/tmp/tmpjlDcls/firefox/libxul.so)
#05: mozilla::net::nsIOService::NewChannelFromURIWithProxyFlagsInternal(nsIURI*, nsIURI*, unsigned int, nsINode*, nsIPrincipal*, nsIPrincipal*, mozilla::Maybe<mozilla::dom::ClientInfo> const&, mozilla::Maybe<mozilla::dom::ServiceWorkerDescriptor> const&, unsigned int, unsigned int, nsIChannel**) (/tmp/tmpjlDcls/firefox/libxul.so)
#06: mozilla::net::nsIOService::NewChannelFromURIWithProxyFlags(nsIURI*, nsIURI*, unsigned int, nsINode*, nsIPrincipal*, nsIPrincipal*, unsigned int, unsigned int, nsIChannel**) (/tmp/tmpjlDcls/firefox/libxul.so)
#07: mozilla::net::nsIOService::NewChannelFromURI(nsIURI*, nsINode*, nsIPrincipal*, nsIPrincipal*, unsigned int, unsigned int, nsIChannel**) (/tmp/tmpjlDcls/firefox/libxul.so)
#08: NS_InvokeByIndex (/tmp/tmpjlDcls/firefox/libxul.so)
}
}
Unreported {
1 block in heap block record 4 of 3,785
20,971,520 bytes (20,971,520 requested / 0 slop)
3.09% of the heap (65.35% cumulative)
3.30% of unreported (69.89% cumulative)
Allocated at {
#01: replace_calloc(unsigned long, unsigned long) (/tmp/tmpjlDcls/firefox/firefox-bin)
#02: calloc (/tmp/tmpjlDcls/firefox/firefox-bin)
#03: PLDHashTable::ChangeTable(int) (/tmp/tmpjlDcls/firefox/libxul.so)
#04: PLDHashTable::Add(void const*, std::nothrow_t const&) (/tmp/tmpjlDcls/firefox/libxul.so)
#05: mozilla::cyclecollector::HoldJSObjectsImpl(nsISupports*) (/tmp/tmpjlDcls/firefox/libxul.so)
#06: mozilla::dom::Promise::Create(nsIGlobalObject*, mozilla::ErrorResult&, mozilla::dom::Promise::PropagateUserInteraction) (/tmp/tmpjlDcls/firefox/libxul.so)
#07: mozilla::dom::cache::CacheStorage::Open(nsTSubstring<char16_t> const&, mozilla::ErrorResult&) (/tmp/tmpjlDcls/firefox/libxul.so)
#08: mozilla::dom::CacheStorage_Binding::open_promiseWrapper(JSContext*, JS::Handle<JSObject*>, mozilla::dom::cache::CacheStorage*, JSJitMethodCallArgs const&) (/tmp/tmpjlDcls/firefox/libxul.so)
}
}
Unreported {
19,852 blocks in heap block record 5 of 3,785
20,328,448 bytes (20,328,448 requested / 0 slop)
Individual block sizes: 1,024 x 19,852
2.99% of the heap (68.34% cumulative)
3.20% of unreported (73.08% cumulative)
Allocated at {
#01: replace_realloc(void*, unsigned long) (/tmp/tmpjlDcls/firefox/firefox-bin)
#02: moz_xrealloc (/tmp/tmpjlDcls/firefox/firefox-bin)
#03: nsTArrayInfallibleAllocator::ResultTypeProxy nsTArray_base<nsTArrayInfallibleAllocator, nsTArray_CopyWithMemutils>::EnsureCapacity<nsTArrayInfallibleAllocator>(unsigned long, unsigned long) (/tmp/tmpjlDcls/firefox/libxul.so)
#04: mozilla::net::nsHttpHeaderArray::SetHeader_internal(mozilla::net::nsHttpAtom, nsTSubstring<char> const&, nsTSubstring<char> const&, mozilla::net::nsHttpHeaderArray::HeaderVariety) (/tmp/tmpjlDcls/firefox/libxul.so)
#05: mozilla::net::nsHttpHeaderArray::SetHeaderFromNet(mozilla::net::nsHttpAtom, nsTSubstring<char> const&, nsTSubstring<char> const&, bool) (/tmp/tmpjlDcls/firefox/libxul.so)
#06: mozilla::net::nsHttpResponseHead::ParseHeaderLine_locked(nsTSubstring<char> const&, bool) (/tmp/tmpjlDcls/firefox/libxul.so)
#07: mozilla::net::nsHttpResponseHead::ParseHeaderLine(nsTSubstring<char> const&) (/tmp/tmpjlDcls/firefox/libxul.so)
#08: mozilla::net::InterceptedChannelBase::DoSynthesizeHeader(nsTSubstring<char> const&, nsTSubstring<char> const&) (/tmp/tmpjlDcls/firefox/libxul.so)
}
}
Unreported {
19,836 blocks in heap block record 6 of 3,785
20,312,064 bytes (11,425,536 requested / 8,886,528 slop)
Individual block sizes: 1,024 x 19,836
2.99% of the heap (71.33% cumulative)
3.20% of unreported (76.28% cumulative)
Allocated at {
#01: replace_malloc(unsigned long) (/tmp/tmpjlDcls/firefox/firefox-bin)
#02: moz_xmalloc (/tmp/tmpjlDcls/firefox/firefox-bin)
#03: mozilla::dom::ClientInfo::operator=(mozilla::dom::ClientInfo const&) (/tmp/tmpjlDcls/firefox/libxul.so)
#04: mozilla::dom::Document::GetClientInfo() const (/tmp/tmpjlDcls/firefox/libxul.so)
#05: mozilla::net::LoadInfo::LoadInfo(nsIPrincipal*, nsIPrincipal*, nsINode*, unsigned int, unsigned int, mozilla::Maybe<mozilla::dom::ClientInfo> const&, mozilla::Maybe<mozilla::dom::ServiceWorkerDescriptor> const&) (/tmp/tmpjlDcls/firefox/libxul.so)
#06: mozilla::net::nsIOService::NewChannelFromURIWithProxyFlagsInternal(nsIURI*, nsIURI*, unsigned int, nsINode*, nsIPrincipal*, nsIPrincipal*, mozilla::Maybe<mozilla::dom::ClientInfo> const&, mozilla::Maybe<mozilla::dom::ServiceWorkerDescriptor> const&, unsigned int, unsigned int, nsIChannel**) (/tmp/tmpjlDcls/firefox/libxul.so)
#07: mozilla::net::nsIOService::NewChannelFromURIWithProxyFlags(nsIURI*, nsIURI*, unsigned int, nsINode*, nsIPrincipal*, nsIPrincipal*, unsigned int, unsigned int, nsIChannel**) (/tmp/tmpjlDcls/firefox/libxul.so)
#08: mozilla::net::nsIOService::NewChannelFromURI(nsIURI*, nsINode*, nsIPrincipal*, nsIPrincipal*, unsigned int, unsigned int, nsIChannel**) (/tmp/tmpjlDcls/firefox/libxul.so)
}
}
Unreported {
17,190 blocks in heap block record 7 of 3,785
8,801,280 bytes (8,801,280 requested / 0 slop)
Individual block sizes: 512 x 17,190
1.30% of the heap (72.63% cumulative)
1.39% of unreported (77.67% cumulative)
Allocated at {
#01: replace_realloc(void*, unsigned long) (/tmp/tmpjlDcls/firefox/firefox-bin)
#02: moz_xrealloc (/tmp/tmpjlDcls/firefox/firefox-bin)
#03: nsTArrayInfallibleAllocator::ResultTypeProxy nsTArray_base<nsTArrayInfallibleAllocator, nsTArray_CopyWithMemutils>::EnsureCapacity<nsTArrayInfallibleAllocator>(unsigned long, unsigned long) (/tmp/tmpjlDcls/firefox/libxul.so)
#04: mozilla::dom::InternalHeaders::Entry* nsTArray_Impl<mozilla::dom::InternalHeaders::Entry, nsTArrayInfallibleAllocator>::AppendElement<mozilla::dom::InternalHeaders::Entry, nsTArrayInfallibleAllocator>(mozilla::dom::InternalHeaders::Entry&&) (/tmp/tmpjlDcls/firefox/libxul.so)
#05: mozilla::dom::InternalHeaders::Append(nsTSubstring<char> const&, nsTSubstring<char> const&, mozilla::ErrorResult&) (/tmp/tmpjlDcls/firefox/libxul.so)
#06: mozilla::dom::InternalHeaders::Fill(mozilla::dom::InternalHeaders const&, mozilla::ErrorResult&) (/tmp/tmpjlDcls/firefox/libxul.so)
#07: mozilla::dom::cache::TypeUtils::ToResponse(mozilla::dom::cache::CacheResponse const&) (/tmp/tmpjlDcls/firefox/libxul.so)
#08: mozilla::dom::cache::CacheOpChild::HandleResponse(mozilla::Maybe<mozilla::dom::cache::CacheResponse> const&) (/tmp/tmpjlDcls/firefox/libxul.so)
}
}
Unreported {
17,123 blocks in heap block record 8 of 3,785
8,766,976 bytes (8,766,976 requested / 0 slop)
Individual block sizes: 512 x 17,123
1.29% of the heap (73.92% cumulative)
1.38% of unreported (79.05% cumulative)
Allocated at {
#01: replace_realloc(void*, unsigned long) (/tmp/tmpjlDcls/firefox/firefox-bin)
#02: moz_xrealloc (/tmp/tmpjlDcls/firefox/firefox-bin)
#03: nsTArrayInfallibleAllocator::ResultTypeProxy nsTArray_base<nsTArrayInfallibleAllocator, nsTArray_CopyWithMemutils>::EnsureCapacity<nsTArrayInfallibleAllocator>(unsigned long, unsigned long) (/tmp/tmpjlDcls/firefox/libxul.so)
#04: mozilla::dom::InternalHeaders::Entry* nsTArray_Impl<mozilla::dom::InternalHeaders::Entry, nsTArrayInfallibleAllocator>::AppendElement<mozilla::dom::InternalHeaders::Entry, nsTArrayInfallibleAllocator>(mozilla::dom::InternalHeaders::Entry&&) (/tmp/tmpjlDcls/firefox/libxul.so)
#05: mozilla::dom::InternalHeaders::Append(nsTSubstring<char> const&, nsTSubstring<char> const&, mozilla::ErrorResult&) (/tmp/tmpjlDcls/firefox/libxul.so)
#06: mozilla::dom::InternalHeaders::Fill(mozilla::dom::InternalHeaders const&, mozilla::ErrorResult&) (/tmp/tmpjlDcls/firefox/libxul.so)
#07: mozilla::dom::InternalHeaders::BasicHeaders(mozilla::dom::InternalHeaders*) (/tmp/tmpjlDcls/firefox/libxul.so)
#08: mozilla::dom::InternalResponse::BasicResponse() (/tmp/tmpjlDcls/firefox/libxul.so)
}
}
Unreported {
14,781 blocks in heap block record 9 of 3,785
6,148,896 bytes (6,148,896 requested / 0 slop)
Individual block sizes: 416 x 14,781
0.90% of the heap (74.82% cumulative)
0.97% of unreported (80.01% cumulative)
Allocated at {
#01: replace_malloc(unsigned long) (/tmp/tmpjlDcls/firefox/firefox-bin)
#02: moz_xmalloc (/tmp/tmpjlDcls/firefox/firefox-bin)
#03: mozilla::net::nsIOService::NewChannelFromURIWithProxyFlagsInternal(nsIURI*, nsIURI*, unsigned int, nsINode*, nsIPrincipal*, nsIPrincipal*, mozilla::Maybe<mozilla::dom::ClientInfo> const&, mozilla::Maybe<mozilla::dom::ServiceWorkerDescriptor> const&, unsigned int, unsigned int, nsIChannel**) (/tmp/tmpjlDcls/firefox/libxul.so)
#04: mozilla::net::nsIOService::NewChannelFromURIWithProxyFlags(nsIURI*, nsIURI*, unsigned int, nsINode*, nsIPrincipal*, nsIPrincipal*, unsigned int, unsigned int, nsIChannel**) (/tmp/tmpjlDcls/firefox/libxul.so)
#05: mozilla::net::nsIOService::NewChannelFromURI(nsIURI*, nsINode*, nsIPrincipal*, nsIPrincipal*, unsigned int, unsigned int, nsIChannel**) (/tmp/tmpjlDcls/firefox/libxul.so)
#06: NS_InvokeByIndex (/tmp/tmpjlDcls/firefox/libxul.so)
#07: XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) (/tmp/tmpjlDcls/firefox/libxul.so)
#08: XPC_WN_CallMethod(JSContext*, unsigned int, JS::Value*) (/tmp/tmpjlDcls/firefox/libxul.so)
}
}
Unreported {
32,191 blocks in heap block record 10 of 3,785
5,624,960 bytes (5,367,432 requested / 257,528 slop)
Individual block sizes: 32,768 x 109; 64 x 32,082
0.83% of the heap (75.65% cumulative)
0.89% of unreported (80.90% cumulative)
Allocated at {
#01: replace_malloc(unsigned long) (/tmp/tmpjlDcls/firefox/firefox-bin)
#02: moz_xmalloc (/tmp/tmpjlDcls/firefox/firefox-bin)
#03: mozilla::CycleCollectedJSContext::enqueuePromiseJob(JSContext*, JS::Handle<JSObject*>, JS::Handle<JSObject*>, JS::Handle<JSObject*>, JS::Handle<JSObject*>) (/tmp/tmpjlDcls/firefox/libxul.so)
#04: JSRuntime::enqueuePromiseJob(JSContext*, JS::Handle<JSFunction*>, JS::Handle<JSObject*>, JS::Handle<js::GlobalObject*>) (/tmp/tmpjlDcls/firefox/libxul.so)
#05: EnqueuePromiseReactionJob(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::Value>, JS::PromiseState) (/tmp/tmpjlDcls/firefox/libxul.so)
#06: ResolvePromise(JSContext*, JS::Handle<js::PromiseObject*>, JS::Handle<JS::Value>, JS::PromiseState) [clone .llvm.5356255107530485852] (/tmp/tmpjlDcls/firefox/libxul.so)
#07: FulfillMaybeWrappedPromise(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::Value>) (/tmp/tmpjlDcls/firefox/libxul.so)
#08: ResolvePromiseInternal(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::Value>) [clone .llvm.5356255107530485852] (/tmp/tmpjlDcls/firefox/libxul.so)
}
}
Unreported {
5,127 blocks in heap block record 11 of 3,785
5,250,048 bytes (3,117,216 requested / 2,132,832 slop)
Individual block sizes: 1,024 x 5,127
0.77% of the heap (76.42% cumulative)
0.83% of unreported (81.72% cumulative)
Allocated at {
#01: replace_malloc(unsigned long) (/tmp/tmpjlDcls/firefox/firefox-bin)
#02: moz_xmalloc (/tmp/tmpjlDcls/firefox/firefox-bin)
#03: mozilla::dom::Client::Client(nsIGlobalObject*, mozilla::dom::ClientInfoAndState const&) (/tmp/tmpjlDcls/firefox/libxul.so)
#04: mozilla::dom::(anonymous namespace)::SendMessageEventRunnable::WorkerRun(JSContext*, mozilla::dom::WorkerPrivate*) (/tmp/tmpjlDcls/firefox/libxul.so)
#05: mozilla::dom::WorkerRunnable::Run() (/tmp/tmpjlDcls/firefox/libxul.so)
#06: nsThread::ProcessNextEvent(bool, bool*) (/tmp/tmpjlDcls/firefox/libxul.so)
#07: NS_ProcessNextEvent(nsIThread*, bool) (/tmp/tmpjlDcls/firefox/libxul.so)
#08: mozilla::dom::WorkerPrivate::DoRunLoop(JSContext*) (/tmp/tmpjlDcls/firefox/libxul.so)
}
}
(lots more)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment