Bug 180443 - bmalloc IsoHeap needs to allow a thread to deallocate some size for the first time
Summary: bmalloc IsoHeap needs to allow a thread to deallocate some size for the first...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: bmalloc (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Filip Pizlo
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-12-05 13:39 PST by Filip Pizlo
Modified: 2017-12-05 14:51 PST (History)
8 users (show)

See Also:


Attachments
the patch (7.83 KB, patch)
2017-12-05 13:56 PST, Filip Pizlo
saam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Pizlo 2017-12-05 13:39:06 PST
It's true that we can expect a heap to already be initialized if we try to deallocate in it.  But it may not have its deallocator initialized on this thread yet.
Comment 1 Filip Pizlo 2017-12-05 13:56:26 PST
Created attachment 328495 [details]
the patch
Comment 2 Filip Pizlo 2017-12-05 14:51:00 PST
Landed in https://trac.webkit.org/changeset/225551/webkit
Comment 3 Radar WebKit Bug Importer 2017-12-05 14:51:43 PST
<rdar://problem/35865700>