Reviewed by Maciej.
authorthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 1 May 2006 20:58:54 +0000 (20:58 +0000)
committerthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 1 May 2006 20:58:54 +0000 (20:58 +0000)
commitef3ef7ab8693fab2e5c8f7fc9825941f669728ce
tree5ab63e534ca102332e79de91e02578c327f8a7c3
parenta5139da3945d43b8f2841269a4f39bcadb41e336
    Reviewed by Maciej.

        <rdar://problem/4308243> 8F36 Regression: crash in malloc_consolidate if you use a .PAC file

        The original fix missed the oversized cell case. Added a test for "currentThreadIsMainThread ||
        imp->m_destructorIsThreadSafe" where we collect oversized cells.

        We don't have a way to test PAC files yet, so there's no test attached.

        * kjs/collector.cpp:
        (KJS::Collector::collect): test the thread when we collect oversized cells

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14141 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/kjs/collector.cpp