Ignore:
Timestamp:
Jan 30, 2011, 11:54:56 AM (15 years ago)
Author:
Csaba Osztrogonác
Message:

Unreviewed, rolling out r77025.
http://trac.webkit.org/changeset/77025
https://bugs.webkit.org/show_bug.cgi?id=53401

Patch by Sheriff Bot <[email protected]> on 2011-01-30
It made js1_5/Regress/regress-159334.js fail on 64 bit Linux
(Requested by Ossy on #webkit).

  • jit/ExecutableAllocatorFixedVMPool.cpp:

(JSC::FreeListEntry::FreeListEntry):
(JSC::AVLTreeAbstractorForFreeList::get_less):
(JSC::AVLTreeAbstractorForFreeList::set_less):
(JSC::AVLTreeAbstractorForFreeList::get_greater):
(JSC::AVLTreeAbstractorForFreeList::set_greater):
(JSC::AVLTreeAbstractorForFreeList::get_balance_factor):
(JSC::AVLTreeAbstractorForFreeList::set_balance_factor):
(JSC::AVLTreeAbstractorForFreeList::null):
(JSC::AVLTreeAbstractorForFreeList::compare_key_key):
(JSC::AVLTreeAbstractorForFreeList::compare_key_node):
(JSC::AVLTreeAbstractorForFreeList::compare_node_node):
(JSC::reverseSortFreeListEntriesByPointer):
(JSC::reverseSortCommonSizedAllocations):
(JSC::FixedVMPoolAllocator::release):
(JSC::FixedVMPoolAllocator::reuse):
(JSC::FixedVMPoolAllocator::addToFreeList):
(JSC::FixedVMPoolAllocator::coalesceFreeSpace):
(JSC::FixedVMPoolAllocator::FixedVMPoolAllocator):
(JSC::FixedVMPoolAllocator::alloc):
(JSC::FixedVMPoolAllocator::free):
(JSC::FixedVMPoolAllocator::isValid):
(JSC::FixedVMPoolAllocator::allocInternal):
(JSC::FixedVMPoolAllocator::isWithinVMPool):
(JSC::FixedVMPoolAllocator::addToCommittedByteCount):
(JSC::ExecutableAllocator::committedByteCount):
(JSC::maybeModifyVMPoolSize):
(JSC::ExecutableAllocator::isValid):
(JSC::ExecutableAllocator::underMemoryPressure):
(JSC::ExecutablePool::systemAlloc):
(JSC::ExecutablePool::systemRelease):

  • wtf/PageReservation.h:

(WTF::PageReservation::PageReservation):
(WTF::PageReservation::commit):
(WTF::PageReservation::decommit):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/wtf/PageReservation.h

    r77025 r77090  
    5858public:
    5959    PageReservation()
    60         : m_committed(0)
    61         , m_writable(false)
     60        : m_writable(false)
    6261        , m_executable(false)
     62#ifndef NDEBUG
     63        , m_committed(0)
     64#endif
    6365    {
    6466    }
     
    8284        ASSERT(contains(start, size));
    8385
     86#ifndef NDEBUG
    8487        m_committed += size;
     88#endif
    8589        OSAllocator::commit(start, size, m_writable, m_executable);
    8690    }
     
    9397        ASSERT(contains(start, size));
    9498
     99#ifndef NDEBUG
    95100        m_committed -= size;
     101#endif
    96102        OSAllocator::decommit(start, size);
    97     }
    98 
    99     size_t committed()
    100     {
    101         return m_committed;
    102103    }
    103104
     
    126127    PageReservation(void* base, size_t size, bool writable, bool executable)
    127128        : PageBlock(base, size)
    128         , m_committed(0)
    129129        , m_writable(writable)
    130130        , m_executable(executable)
     131#ifndef NDEBUG
     132        , m_committed(0)
     133#endif
    131134    {
    132135    }
    133136
    134     size_t m_committed;
    135137    bool m_writable;
    136138    bool m_executable;
     139#ifndef NDEBUG
     140    size_t m_committed;
     141#endif
    137142};
    138143
Note: See TracChangeset for help on using the changeset viewer.