<?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>294348</bug_id>
          
          <creation_ts>2025-06-11 15:04:46 -0700</creation_ts>
          <short_desc>Allow profiling of libpas allocations on local allocator granularity</short_desc>
          <delta_ts>2025-06-16 10:51:36 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>bmalloc</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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="David Degazio">d_degazio</reporter>
          <assigned_to name="David Degazio">d_degazio</assigned_to>
          <cc>ggaren</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2123098</commentid>
    <comment_count>0</comment_count>
    <who name="David Degazio">d_degazio</who>
    <bug_when>2025-06-11 15:04:46 -0700</bug_when>
    <thetext>We already have a lot of different profiling hooks that allow profiling logic to be injected into a lot of different code paths in libpas. However, it&apos;s hard to develop profiling policies that vary based on type of allocation or that are probabilistic. One nice mechanism for this is the local allocator, where at least for segregated allocations, we can toggle profiling for a specific local allocator based on some policy in the allocation medium-to-slow path, instead of burdening the fastest fast paths with additional logic. This can help us collect useful profiling information while reducing the impact on normal program performance characteristics.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2123101</commentid>
    <comment_count>1</comment_count>
    <who name="David Degazio">d_degazio</who>
    <bug_when>2025-06-11 15:10:39 -0700</bug_when>
    <thetext>rdar://153125216</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2123336</commentid>
    <comment_count>2</comment_count>
    <who name="David Degazio">d_degazio</who>
    <bug_when>2025-06-12 12:52:34 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/46670</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2124013</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-06-16 10:51:34 -0700</bug_when>
    <thetext>Committed 296285@main (e9f91e517391): &lt;https://commits.webkit.org/296285@main&gt;

Reviewed commits have been landed. Closing PR #46670 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>