• Hannes Payer's avatar
    [heap] Implemented write protected code pages. · 14917b65
    Hannes Payer authored
    This CL provides the basic infrastructure on the GC side for write protected code pages.
    
    The only thing missing on the GC side is the out-of-line free list implementation. In this
    CL sweeper threads and the mutator need to synchronize when page protection mode changes.
    This would not be necessary if the sweepr use and out-of-line free list.
    
    Code allocation is currently protected by a CodeSpaceMemoryModificationScope. This may
    go away with a unification of code space allocation and initialization that will happen
    later.
    
    One thing missing in this CL: freshly added pages are still read+write+executable. This
    also needs to change: WIP
    
    Bug: chromium:774108,v8:6792
    Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
    Change-Id: Ib8d1ed1c09cc144791e462277bf43a4641e1490d
    Reviewed-on: https://chromium-review.googlesource.com/716379
    Commit-Queue: Hannes Payer <hpayer@chromium.org>
    Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
    Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
    Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#48774}
    14917b65
Name
Last commit
Last update
..
OWNERS Loading commit data...
condition-variable.cc Loading commit data...
condition-variable.h Loading commit data...
elapsed-timer.h Loading commit data...
mutex.cc Loading commit data...
mutex.h Loading commit data...
platform-aix.cc Loading commit data...
platform-cygwin.cc Loading commit data...
platform-freebsd.cc Loading commit data...
platform-fuchsia.cc Loading commit data...
platform-linux.cc Loading commit data...
platform-macos.cc Loading commit data...
platform-openbsd.cc Loading commit data...
platform-posix-time.cc Loading commit data...
platform-posix-time.h Loading commit data...
platform-posix.cc Loading commit data...
platform-posix.h Loading commit data...
platform-qnx.cc Loading commit data...
platform-solaris.cc Loading commit data...
platform-win32.cc Loading commit data...
platform.h Loading commit data...
semaphore.cc Loading commit data...
semaphore.h Loading commit data...
time.cc Loading commit data...
time.h Loading commit data...