Ignore:
Timestamp:
May 2, 2008, 3:07:53 AM (17 years ago)
Author:
[email protected]
Message:

Reviewed by Geoffrey Garen.

https://bugs.webkit.org/show_bug.cgi?id=18826
Make JavaScript heap per-thread

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/InitializeThreading.cpp

    r32652 r32807  
    4848    if (!s_dtoaP5Mutex) {
    4949        s_dtoaP5Mutex = new Mutex;
    50 #if !PLATFORM(DARWIN) // Darwin has pthread_main_np(), and doesn't need registerAsMainThread() called.
    51         Collector::registerAsMainThread();
    52 #endif
     50        Heap::threadHeap();
    5351        UString::null();
    5452        Identifier::initializeIdentifierThreading();
     
    5755        initDateMath();
    5856        JSGlobalObject::threadClassInfoHashTables();
     57        JSGlobalObject::head();
    5958    }
    6059#endif
Note: See TracChangeset for help on using the changeset viewer.