Ignore:
Timestamp:
Nov 11, 2011, 3:43:00 PM (14 years ago)
Author:
[email protected]
Message:

Update iOS port's configuration setting, particularly in Platform.h
https://bugs.webkit.org/show_bug.cgi?id=72187

Reviewed by David Kilzer.

  • interpreter/Interpreter.h:
    • Lower the reentry depth.
  • runtime/DatePrototype.cpp:
    • iOS also uses CF.
  • wtf/FastMalloc.cpp:

(WTF::TCMalloc_PageHeap::IncrementalScavenge):

  • Update fastmalloc configuration for iOS.
  • wtf/OSAllocatorPosix.cpp:

(WTF::OSAllocator::reserveAndCommit):

  • Added flag.
  • wtf/Platform.h:
    • Update platform configuration for iOS.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/interpreter/Interpreter.h

    r96146 r100037  
    8181    };
    8282
     83#if PLATFORM(IOS)
     84    // We use a smaller reentrancy limit on iPhone because of the high amount of
     85    // stack space required on the web thread.
     86    enum { MaxLargeThreadReentryDepth = 93, MaxSmallThreadReentryDepth = 32 };
     87#else
    8388    enum { MaxLargeThreadReentryDepth = 256, MaxSmallThreadReentryDepth = 32 };
     89#endif // PLATFORM(IOS)
    8490
    8591    class Interpreter {
Note: See TracChangeset for help on using the changeset viewer.