Bug 64404

Summary: Need a way to force functions to be inlined in debug.
Product: WebKit Reporter: David Levin <levin>
Component: Web Template FrameworkAssignee: David Levin <levin>
Status: RESOLVED WONTFIX    
Severity: Normal CC: ap, dslomov
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 31639    

Description David Levin 2011-07-12 15:51:58 PDT
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().
Comment 1 David Levin 2011-07-20 14:37:09 PDT
Actually this isn't needed anymore. I did the necessary speed ups in https://bugs.webkit.org/show_bug.cgi?id=64577 without it.