Bug 121662

Summary: BitVector::OutOfLineBits is always reported as a leak
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: Web Template FrameworkAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: andersca, benjamin, darin, fpizlo, kling, mrowe, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=208580

Alexey Proskuryakov
Reported 2013-09-20 01:00:12 PDT
BitVector::m_bitsOrPointer stores a transmogrified OutOfLineBits pointer, so it's always reported as a leak: m_bitsOrPointer = bitwise_cast<uintptr_t>(newOutOfLineBits) >> 1;
Attachments
Radar WebKit Bug Importer
Comment 1 2017-11-30 00:16:35 PST
Alexey Proskuryakov
Comment 2 2017-11-30 00:22:57 PST
Silenced the leak in <http://trac.webkit.org/r225321>. It still needs to be fixed, as it will continue to show up as a leak for client apps which don't use webkitpy for leaks detection.
Alexey Proskuryakov
Comment 3 2017-12-18 08:39:43 PST
I'm not seeing many leaks under BitVector::resizeOutOfLine too. I don't see any recent changes to this code, so perhaps that's just because I ran a more complete set of tests. Adding BitVector::resizeOutOfLine to _callstacks_to_exclude_from_leaks too.
Alexey Proskuryakov
Comment 4 2017-12-18 09:07:14 PST
> I'm not seeing I'm *now* seeing
Note You need to log in before you can comment on or make changes to this bug.