Changeset 259956 in webkit


Ignore:
Timestamp:
Apr 12, 2020 6:03:40 AM (4 years ago)
Author:
Carlos Garcia Campos
Message:

Merge r257662 - Clean up code with how we choose Gigacage sizes and whether or not to use Wasm fast memory
https://bugs.webkit.org/show_bug.cgi?id=208392

Reviewed by Yusuke Suzuki.

Source/bmalloc:

  • bmalloc/Gigacage.h:

Source/JavaScriptCore:

  • runtime/OptionsList.h:
Location:
releases/WebKitGTK/webkit-2.28/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • releases/WebKitGTK/webkit-2.28/Source/JavaScriptCore/ChangeLog

    r259954 r259956  
     12020-02-28  Saam Barati  <sbarati@apple.com>
     2
     3        Clean up code with how we choose Gigacage sizes and whether or not to use Wasm fast memory
     4        https://bugs.webkit.org/show_bug.cgi?id=208392
     5
     6        Reviewed by Yusuke Suzuki.
     7
     8        * runtime/OptionsList.h:
     9
    1102020-03-19  Yusuke Suzuki  <ysuzuki@apple.com>
    211
  • releases/WebKitGTK/webkit-2.28/Source/JavaScriptCore/runtime/OptionsList.h

    r255947 r259956  
    459459    v(Int32, omgTierUpCounterIncrementForEntry, 15, Normal, "The amount the tier up counter is incremented on each function entry.") \
    460460    /* FIXME: enable fast memories on iOS and pre-allocate them. https://bugs.webkit.org/show_bug.cgi?id=170774 */ \
    461     v(Bool, useWebAssemblyFastMemory, !isIOS(), Normal, "If true, we will try to use a 32-bit address space with a signal handler to bounds check wasm memory.") \
     461    v(Bool, useWebAssemblyFastMemory, OS_CONSTANT(EFFECTIVE_ADDRESS_WIDTH) >= 48, Normal, "If true, we will try to use a 32-bit address space with a signal handler to bounds check wasm memory.") \
    462462    v(Bool, logWebAssemblyMemory, false, Normal, nullptr) \
    463463    v(Unsigned, webAssemblyFastMemoryRedzonePages, 128, Normal, "WebAssembly fast memories use 4GiB virtual allocations, plus a redzone (counted as multiple of 64KiB WebAssembly pages) at the end to catch reg+imm accesses which exceed 32-bit, anything beyond the redzone is explicitly bounds-checked") \
  • releases/WebKitGTK/webkit-2.28/Source/bmalloc/ChangeLog

    r258187 r259956  
     12020-02-28  Saam Barati  <sbarati@apple.com>
     2
     3        Clean up code with how we choose Gigacage sizes and whether or not to use Wasm fast memory
     4        https://bugs.webkit.org/show_bug.cgi?id=208392
     5
     6        Reviewed by Yusuke Suzuki.
     7
     8        * bmalloc/Gigacage.h:
     9
    1102020-03-09  Mike Gorse  <mgorse@suse.com>
    211
  • releases/WebKitGTK/webkit-2.28/Source/bmalloc/bmalloc/Gigacage.h

    r249856 r259956  
    6767#if GIGACAGE_ENABLED
    6868
    69 #if BCPU(ARM64)
     69#if BOS_EFFECTIVE_ADDRESS_WIDTH < 48
    7070constexpr size_t primitiveGigacageSize = 2 * bmalloc::Sizes::GB;
    7171constexpr size_t jsValueGigacageSize = 2 * bmalloc::Sizes::GB;
Note: See TracChangeset for help on using the changeset viewer.