Bug 101642 - MarkStackArray should use the BlockAllocator instead of the MarkStackSegmentAllocator
Summary: MarkStackArray should use the BlockAllocator instead of the MarkStackSegmentA...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mark Hahnenberg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-08 13:58 PST by Mark Hahnenberg
Modified: 2012-11-09 09:58 PST (History)
4 users (show)

See Also:


Attachments
Patch (17.35 KB, patch)
2012-11-08 14:25 PST, Mark Hahnenberg
no flags Details | Formatted Diff | Diff
Patch (18.33 KB, patch)
2012-11-08 14:48 PST, Mark Hahnenberg
fpizlo: review+
webkit.review.bot: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Hahnenberg 2012-11-08 13:58:55 PST
MarkStackSegmentAllocator is like a miniature version of the BlockAllocator. Now that the BlockAllocator has support for a variety of block sizes, we should get rid of the MarkStackSegmentAllocator in favor of the BlockAllocator.
Comment 1 Mark Hahnenberg 2012-11-08 14:25:48 PST
Created attachment 173116 [details]
Patch
Comment 2 Filip Pizlo 2012-11-08 14:42:24 PST
Comment on attachment 173116 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=173116&action=review

> Source/JavaScriptCore/heap/BlockAllocator.h:326
> +    return m_weakRegionSet;

Then can you rename m_weakRegionSet to something that reflects its dual purpose?
Comment 3 Mark Hahnenberg 2012-11-08 14:48:12 PST
Created attachment 173124 [details]
Patch
Comment 4 kov's GTK+ EWS bot 2012-11-08 16:43:15 PST
Comment on attachment 173124 [details]
Patch

Attachment 173124 [details] did not pass gtk-ews (gtk):
Output: http://queues.webkit.org/results/14763806
Comment 5 WebKit Review Bot 2012-11-09 09:15:26 PST
Comment on attachment 173124 [details]
Patch

Rejecting attachment 173124 [details] from commit-queue.

Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2

Last 500 characters of output:
ing file Source/JavaScriptCore/heap/MarkStackInlineMethods.h
Hunk #1 FAILED at 31.
Hunk #2 FAILED at 69.
Hunk #3 FAILED at 79.
Hunk #4 FAILED at 89.
Hunk #5 FAILED at 105.
5 out of 5 hunks FAILED -- saving rejects to file Source/JavaScriptCore/heap/MarkStackInlineMethods.h.rej
patching file Source/JavaScriptCore/heap/SlotVisitor.cpp

Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--force', u'--reviewer', u'Filip Pizlo']" exit_code: 1 cwd: /mnt/git/webkit-commit-queue

Full output: http://queues.webkit.org/results/14778471
Comment 6 Mark Hahnenberg 2012-11-09 09:58:50 PST
Committed r134080: <http://trac.webkit.org/changeset/134080>