Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Issue 2519313005: Skip thread-unsafe Windows heaps from MallocDumpProvider. (Closed)

Created:
4 years ago by kraynov
Modified:
4 years ago
CC:
chromium-reviews, tracing+reviews_chromium.org, wfh+watch_chromium.org, vmpstr+watch_chromium.org, dcheng, ericrk
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Skip thread-unsafe Windows heaps from MallocDumpProvider. It's crashy to try to dump a heap created with HEAP_NO_SERIALIZE flag. Unfortunately there's no WinAPI to tell with which flags heap has been created. But low-fragmentation heaps are used by default on modern versions of Windows and incompatible with HEAP_NO_SERIALIZE flag. The type of heap is criteria to skip unsafe heaps from accounting. Main heap is always accounted even if not LFH for some reason. BUG=665516

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -20 lines) Patch
M base/trace_event/malloc_dump_provider.cc View 4 chunks +40 lines, -20 lines 0 comments Download

Messages

Total messages: 10 (6 generated)
Primiano Tucci (use gerrit)
Bruce sorry to bug you but this is causing quite some headaches recently to us. ...
4 years ago (2016-11-24 01:23:07 UTC) #6
brucedawson
On 2016/11/24 01:23:07, Primiano Tucci wrote: > Bruce sorry to bug you but this is ...
4 years ago (2016-11-24 01:28:29 UTC) #7
Primiano Tucci (use gerrit)
On 2016/11/24 01:28:29, brucedawson wrote: > On 2016/11/24 01:23:07, Primiano Tucci wrote: > > Bruce ...
4 years ago (2016-11-24 18:09:09 UTC) #8
kraynov
4 years ago (2016-11-24 18:30:45 UTC) #9
not lgtm
There is no safe way to do that :(

Powered by Google App Engine
This is Rietveld 408576698