Bug 89615

Summary: Functions on global objects should be specializable
Product: WebKit Reporter: Filip Pizlo <fpizlo>
Component: JavaScriptCoreAssignee: Filip Pizlo <fpizlo>
Status: RESOLVED FIXED    
Severity: Normal CC: barraclough, fpizlo, ggaren, oliver
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 33343    
Bug Blocks:    
Attachments:
Description Flags
the patch oliver: review+

Filip Pizlo
Reported 2012-06-20 16:41:42 PDT
This will allow us to better optimize things like "new Array()". Patch forthcoming.
Attachments
the patch (1.53 KB, patch)
2012-06-20 16:53 PDT, Filip Pizlo
oliver: review+
Filip Pizlo
Comment 1 2012-06-20 16:42:41 PDT
Note that this is related to bug https://bugs.webkit.org/show_bug.cgi?id=33343. The fix for that bug involved both introducing a thrash limit and disabling specialization entirely for the global object. I believe that we can reenable specialization, since the thrash limit is so low.
Filip Pizlo
Comment 2 2012-06-20 16:53:00 PDT
Created attachment 148679 [details] the patch
Filip Pizlo
Comment 3 2012-06-20 16:55:39 PDT
Note You need to log in before you can comment on or make changes to this bug.