Ignore:
Timestamp:
Jan 10, 2018, 11:41:12 AM (8 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r226667 and r226673.
https://bugs.webkit.org/show_bug.cgi?id=181488

This caused a flaky crash. (Requested by mlewis13 on #webkit).

Reverted changesets:

"CodeBlocks should be in IsoSubspaces"
https://bugs.webkit.org/show_bug.cgi?id=180884
https://trac.webkit.org/changeset/226667

"REGRESSION (r226667): CodeBlocks should be in IsoSubspaces"
https://bugs.webkit.org/show_bug.cgi?id=180884
https://trac.webkit.org/changeset/226673

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/heap/SimpleMarkingConstraint.h

    r226667 r226725  
    3232
    3333// This allows for an informal way to define constraints. Just pass a lambda to the constructor. The only
    34 // downside is that this makes it hard for constraints to override any functions in MarkingConstraint
    35 // other than executeImpl. In those cases, just subclass MarkingConstraint.
     34// downside is that this makes it hard for constraints to be stateful, which is necessary for them to be
     35// parallel. In those cases, it's easier to just subclass MarkingConstraint.
    3636class SimpleMarkingConstraint : public MarkingConstraint {
    3737public:
     
    4040        ::Function<void(SlotVisitor&)>,
    4141        ConstraintVolatility,
    42         ConstraintConcurrency = ConstraintConcurrency::Concurrent,
    43         ConstraintParallelism = ConstraintParallelism::Sequential);
    44    
    45     SimpleMarkingConstraint(
    46         CString abbreviatedName, CString name,
    47         ::Function<void(SlotVisitor&)> func,
    48         ConstraintVolatility volatility,
    49         ConstraintParallelism parallelism)
    50         : SimpleMarkingConstraint(abbreviatedName, name, WTFMove(func), volatility, ConstraintConcurrency::Concurrent, parallelism)
    51     {
    52     }
     42        ConstraintConcurrency = ConstraintConcurrency::Concurrent);
    5343   
    5444    JS_EXPORT_PRIVATE ~SimpleMarkingConstraint();
    5545   
    5646private:
    57     void executeImpl(SlotVisitor&) override;
     47    ConstraintParallelism executeImpl(SlotVisitor&) override;
    5848
    5949    ::Function<void(SlotVisitor&)> m_executeFunction;
Note: See TracChangeset for help on using the changeset viewer.