⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 181750 in webkit


Ignore:
Timestamp:
Mar 19, 2015, 10:52:02 AM (11 years ago)
Author:
msaboff@apple.com
Message:

Merged r181628. <rdar://problem/19804738>

2015-03-16 Michael Saboff <msaboff@apple.com>

Windows X86-64 should use the fixed executable allocator
https://bugs.webkit.org/show_bug.cgi?id=142749

Reviewed by Filip Pizlo.

Source/JavaScriptCore:

Added jit/ExecutableAllocatorFixedVMPool.cpp to Windows build.

  • JavaScriptCore.vcxproj/JavaScriptCore.vcxproj:
  • JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters:
  • jit/ExecutableAllocatorFixedVMPool.cpp: Don't include unistd.h on Windows.

Source/WTF:

Set ENABLE_EXECUTABLE_ALLOCATOR_FIXED for Windows.
Needed to export MetaAllocator::currentStatistics() for use in JavaScriptCore.

  • wtf/MetaAllocator.h:
  • wtf/Platform.h:
Location:
branches/safari-600.1.17-branch/Source
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-600.1.17-branch/Source/JavaScriptCore/ChangeLog

    r180006 r181750  
     12015-03-19  Michael Saboff  <msaboff@apple.com>
     2
     3        Merge r181628. <rdar://problem/19804738>
     4
     5    2015-03-16  Michael Saboff  <msaboff@apple.com>
     6
     7            Windows X86-64 should use the fixed executable allocator
     8            https://bugs.webkit.org/show_bug.cgi?id=142749
     9
     10            Reviewed by Filip Pizlo.
     11
     12            Added jit/ExecutableAllocatorFixedVMPool.cpp to Windows build.
     13
     14            * JavaScriptCore.vcxproj/JavaScriptCore.vcxproj:
     15            * JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters:
     16            * jit/ExecutableAllocatorFixedVMPool.cpp: Don't include unistd.h on Windows.
     17
    1182015-02-11  Brent Fulgham  <bfulgham@apple.com>
    219
  • branches/safari-600.1.17-branch/Source/JavaScriptCore/JavaScriptCore.vcxproj/JavaScriptCore.vcxproj

    r180006 r181750  
    570570    <ClCompile Include="..\jit\ClosureCallStubRoutine.cpp" />
    571571    <ClCompile Include="..\jit\ExecutableAllocator.cpp" />
     572    <ClCompile Include="..\jit\ExecutableAllocatorFixedVMPool.cpp" />
    572573    <ClCompile Include="..\jit\GCAwareJITStubRoutine.cpp" />
    573574    <ClCompile Include="..\jit\HostCallReturnValue.cpp" />
  • branches/safari-600.1.17-branch/Source/JavaScriptCore/JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters

    r180006 r181750  
    16121612      <Filter>API</Filter>
    16131613    </ClCompile>
     1614    <ClCompile Include="..\jit\ExecutableAllocatorFixedVMPool.cpp">
     1615      <Filter>jit</Filter>
     1616    </ClCompile>
    16141617  </ItemGroup>
    16151618  <ItemGroup>
  • branches/safari-600.1.17-branch/Source/JavaScriptCore/jit/ExecutableAllocatorFixedVMPool.cpp

    r170147 r181750  
    3333#include "CodeProfiling.h"
    3434#include <errno.h>
     35#if !PLATFORM(WIN)
    3536#include <unistd.h>
     37#endif
    3638#include <wtf/MetaAllocator.h>
    3739#include <wtf/PageReservation.h>
  • branches/safari-600.1.17-branch/Source/WTF/ChangeLog

    r180006 r181750  
     12015-03-19  Michael Saboff  <msaboff@apple.com>
     2
     3        Merge r181628. <rdar://problem/19804738>
     4
     5    2015-03-16  Michael Saboff  <msaboff@apple.com>
     6
     7            Windows X86-64 should use the fixed executable allocator
     8            https://bugs.webkit.org/show_bug.cgi?id=142749
     9
     10            Set ENABLE_EXECUTABLE_ALLOCATOR_FIXED for Windows.
     11            Needed to export MetaAllocator::currentStatistics() for use in JavaScriptCore.
     12 
     13            * wtf/MetaAllocator.h:
     14            * wtf/Platform.h:
     15
    1162015-02-11  Brent Fulgham  <bfulgham@apple.com>
    217
  • branches/safari-600.1.17-branch/Source/WTF/wtf/MetaAllocator.h

    r165676 r181750  
    8787        size_t bytesCommitted;
    8888    };
    89     Statistics currentStatistics();
     89    WTF_EXPORT_PRIVATE Statistics currentStatistics();
    9090
    9191    // Add more free space to the allocator. Call this directly from
  • branches/safari-600.1.17-branch/Source/WTF/wtf/Platform.h

    r174171 r181750  
    829829   On x86-64 we use a single fixed mmap, on other platforms we mmap on demand. */
    830830#if ENABLE(ASSEMBLER)
    831 #if CPU(X86_64) && !OS(WINDOWS) || PLATFORM(IOS)
     831#if CPU(X86_64) || PLATFORM(IOS)
    832832#define ENABLE_EXECUTABLE_ALLOCATOR_FIXED 1
    833833#else
Note: See TracChangeset for help on using the changeset viewer.