<?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>64404</bug_id>
          
          <creation_ts>2011-07-12 15:51:58 -0700</creation_ts>
          <short_desc>Need a way to force functions to be inlined in debug.</short_desc>
          <delta_ts>2011-07-20 14:37:09 -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>Web Template Framework</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>31639</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="David Levin">levin</reporter>
          <assigned_to name="David Levin">levin</assigned_to>
          <cc>ap</cc>
    
    <cc>dslomov</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>436035</commentid>
    <comment_count>0</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2011-07-12 15:51:58 -0700</bug_when>
    <thetext>Function calls (in hot code paths) can make the code really slow due to the function call overhead alone but the need to step into these function is minimal.

In order to add useful debug functionality, it would be useful to make these key places faster by forcing the code to be inlined.

Specifically, forcing inlining of wtfThreadData() in currentThread() should allow for currentThread to have comparable speed to isMainThread().</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>440023</commentid>
    <comment_count>1</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2011-07-20 14:37:09 -0700</bug_when>
    <thetext>Actually this isn&apos;t needed anymore. I did the necessary speed ups in https://bugs.webkit.org/show_bug.cgi?id=64577 without it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>