Bug 224474

Summary: Reduce functionWithHellaArguments3()'s number of arguments from 5000 to 500.
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: JavaScriptCoreAssignee: Mark Lam <mark.lam>
Status: REOPENED ---    
Severity: Normal CC: commit-queue, ews-watchlist, keith_miller, msaboff, saam, tzagallo, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 224495    
Bug Blocks:    
Attachments:
Description Flags
proposed patch. ysuzuki: review+

Description Mark Lam 2021-04-13 00:47:02 PDT
Using 5000 arguments seems excessive, and may blow out the stack on more resource constrained devices.  500 should be high enough.

rdar://73614896
Comment 1 Mark Lam 2021-04-13 00:54:38 PDT
Created attachment 425844 [details]
proposed patch.
Comment 2 Yusuke Suzuki 2021-04-13 00:56:08 PDT
Comment on attachment 425844 [details]
proposed patch.

r=me
Comment 3 Mark Lam 2021-04-13 01:05:08 PDT
Thanks for the review.  Landed in r275867: <http://trac.webkit.org/r275867>.
Comment 4 Saam Barati 2021-04-13 10:05:57 PDT
Comment on attachment 425844 [details]
proposed patch.

Why are we changing this? Did you go back in time to verify the test is still doing what it originally was testing?
Comment 5 Saam Barati 2021-04-13 10:07:09 PDT
(In reply to Saam Barati from comment #4)
> Comment on attachment 425844 [details]
> proposed patch.
> 
> Why are we changing this? Did you go back in time to verify the test is
> still doing what it originally was testing?

I remember now something about some llvm bug. You could just JIT "functionWithHellaArguments" so that we're still testing what we intended to in B3/Air.
Comment 6 WebKit Commit Bot 2021-04-13 11:26:53 PDT
Re-opened since this is blocked by bug 224495