<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>121662</bug_id>
          
          <creation_ts>2013-09-20 01:00:12 -0700</creation_ts>
          <short_desc>BitVector::OutOfLineBits is always reported as a leak</short_desc>
          <delta_ts>2020-03-04 10:17:47 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Template Framework</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=208580</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>andersca</cc>
    
    <cc>benjamin</cc>
    
    <cc>darin</cc>
    
    <cc>fpizlo</cc>
    
    <cc>kling</cc>
    
    <cc>mrowe</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>931212</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-09-20 01:00:12 -0700</bug_when>
    <thetext>BitVector::m_bitsOrPointer stores a transmogrified OutOfLineBits pointer, so it&apos;s always reported as a leak:

    m_bitsOrPointer = bitwise_cast&lt;uintptr_t&gt;(newOutOfLineBits) &gt;&gt; 1;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1376243</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-11-30 00:16:35 -0800</bug_when>
    <thetext>&lt;rdar://problem/35767785&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1376244</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2017-11-30 00:22:57 -0800</bug_when>
    <thetext>Silenced the leak in &lt;http://trac.webkit.org/r225321&gt;.

It still needs to be fixed, as it will continue to show up as a leak for client apps which don&apos;t use webkitpy for leaks detection.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1382757</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2017-12-18 08:39:43 -0800</bug_when>
    <thetext>I&apos;m not seeing many leaks under BitVector::resizeOutOfLine too. I don&apos;t see any recent changes to this code, so perhaps that&apos;s just because I ran a more complete set of tests.

Adding BitVector::resizeOutOfLine to _callstacks_to_exclude_from_leaks too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1382762</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2017-12-18 09:07:14 -0800</bug_when>
    <thetext>&gt; I&apos;m not seeing

I&apos;m *now* seeing</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>