Ignore:
Timestamp:
Mar 22, 2010, 5:28:28 PM (15 years ago)
Author:
[email protected]
Message:

2010-03-22 Siddharth Mathur <[email protected]>

Reviewed by Laszlo Gombos.

[Symbian] More efficient aligned memory allocation for JSC Collector
https://bugs.webkit.org/show_bug.cgi?id=34350

  • runtime/Collector.cpp: Reduced port-specific code and added private data member (JSC::Heap::Heap): (JSC::Heap::~Heap): (JSC::Heap::destroy): (JSC::Heap::allocateBlock): (JSC::Heap::freeBlockPtr):
  • runtime/Collector.h: Added private data member
  • wtf/symbian: Added.
  • wtf/symbian/BlockAllocatorSymbian.cpp: Added. (WTF::AlignedBlockAllocator::AlignedBlockAllocator): Helper class to allocate aligned blocks more efficiently as required by Collector (WTF::AlignedBlockAllocator::alloc): (WTF::AlignedBlockAllocator::free): (WTF::AlignedBlockAllocator::destroy): (WTF::AlignedBlockAllocator::~AlignedBlockAllocator):
  • wtf/symbian/BlockAllocatorSymbian.h: Added.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.pri

    r55367 r56370  
    1717    # Need to guarantee this comes before system includes of /epoc32/include
    1818    MMP_RULES += "USERINCLUDE ../JavaScriptCore/profiler"
     19    LIBS += -lhal
    1920}
    2021
     
    3334    $$PWD/runtime \
    3435    $$PWD/wtf \
     36    $$PWD/wtf/symbian \
    3537    $$PWD/wtf/unicode \
    3638    $$PWD/yarr \
     
    213215    wtf/RandomNumber.cpp \
    214216    wtf/RefCountedLeakCounter.cpp \
     217    wtf/symbian/BlockAllocatorSymbian.cpp \
    215218    wtf/ThreadingNone.cpp \
    216219    wtf/Threading.cpp \
Note: See TracChangeset for help on using the changeset viewer.