Changeset 86809 in webkit


Ignore:
Timestamp:
May 18, 2011 5:45:27 PM (13 years ago)
Author:
oliver@apple.com
Message:

2011-05-18 Oliver Hunt <oliver@apple.com>

Reviewed by Gavin Barraclough.

Some tests crashing in JSC::MarkStack::validateValue beneath ScriptController::clearWindowShell on SnowLeopard Intel Release (WebKit2 Tests)
https://bugs.webkit.org/show_bug.cgi?id=61064

Switch NonFinalObject to using WriteBarrier<> rather than WriteBarrierBase<>
for its inline storage. This resolves the problem of GC occurring before
a subclass has initialised its anonymous storage.

  • runtime/JSObject.h:
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r86787 r86809  
     12011-05-18  Oliver Hunt  <oliver@apple.com>
     2
     3        Reviewed by Gavin Barraclough.
     4
     5        Some tests crashing in JSC::MarkStack::validateValue beneath ScriptController::clearWindowShell on SnowLeopard Intel Release (WebKit2 Tests)
     6        https://bugs.webkit.org/show_bug.cgi?id=61064
     7
     8        Switch NonFinalObject to using WriteBarrier<> rather than WriteBarrierBase<>
     9        for its inline storage.  This resolves the problem of GC occurring before
     10        a subclass has initialised its anonymous storage.
     11
     12        * runtime/JSObject.h:
     13
    1142011-05-18  Adam Barth  <abarth@webkit.org>
    215
  • trunk/Source/JavaScriptCore/runtime/JSObject.h

    r84882 r86809  
    344344
    345345    private:
    346         WriteBarrierBase<Unknown> m_inlineStorage[JSNonFinalObject_inlineStorageCapacity];
     346        WriteBarrier<Unknown> m_inlineStorage[JSNonFinalObject_inlineStorageCapacity];
    347347    };
    348348
Note: See TracChangeset for help on using the changeset viewer.