Bug 127807

Summary: Heap::writeBarrier shouldn't be static
Product: WebKit Reporter: Mark Hahnenberg <mhahnenberg>
Component: JavaScriptCoreAssignee: Mark Hahnenberg <mhahnenberg>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 128324    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch none

Mark Hahnenberg
Reported 2014-01-28 15:19:14 PST
Currently it looks up the Heap in which to fire the write barrier by using the cell passed to it. Pretty much every call site already has a reference to the VM or the Heap itself. It seems wasteful to look it up all over again.
Attachments
Patch (21.02 KB, patch)
2014-01-28 15:25 PST, Mark Hahnenberg
no flags
Patch (20.63 KB, patch)
2014-01-28 15:27 PST, Mark Hahnenberg
no flags
Patch (18.92 KB, patch)
2014-02-05 21:06 PST, Mark Hahnenberg
no flags
Patch (21.68 KB, patch)
2014-02-05 21:56 PST, Mark Hahnenberg
no flags
Patch (19.04 KB, patch)
2014-02-06 15:15 PST, Mark Hahnenberg
no flags
Patch (21.75 KB, patch)
2014-02-06 15:16 PST, Mark Hahnenberg
no flags
Mark Hahnenberg
Comment 1 2014-01-28 15:25:46 PST
Mark Hahnenberg
Comment 2 2014-01-28 15:27:31 PST
Geoffrey Garen
Comment 3 2014-01-28 22:03:39 PST
Comment on attachment 222508 [details] Patch r=me if you fix the build
Mark Hahnenberg
Comment 4 2014-02-05 21:06:04 PST
Mark Hahnenberg
Comment 5 2014-02-05 21:06:18 PST
(In reply to comment #4) > Created an attachment (id=223302) [details] > Patch EWS fodder.
Mark Hahnenberg
Comment 6 2014-02-05 21:56:10 PST
Mark Hahnenberg
Comment 7 2014-02-06 09:54:31 PST
WebKit Commit Bot
Comment 8 2014-02-06 12:15:42 PST
Re-opened since this is blocked by bug 128324
Mark Hahnenberg
Comment 9 2014-02-06 15:15:00 PST
Mark Hahnenberg
Comment 10 2014-02-06 15:16:15 PST
Geoffrey Garen
Comment 11 2014-02-06 15:24:58 PST
Comment on attachment 223390 [details] Patch r=me
WebKit Commit Bot
Comment 12 2014-02-06 16:37:31 PST
Comment on attachment 223390 [details] Patch Clearing flags on attachment: 223390 Committed r163576: <http://trac.webkit.org/changeset/163576>
WebKit Commit Bot
Comment 13 2014-02-06 16:37:34 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.