• Shu-yu Guo's avatar
    Revert "[builtins] Remap builtins on Linux" · a8b04431
    Shu-yu Guo authored
    This reverts commit b1dd8287.
    
    Reason for revert: Breaking fuschia build https://ci.chromium.org/ui/p/v8/builders/ci/V8%20Fuchsia%20-%20builder/13592/overview
    
    Original change's description:
    > [builtins] Remap builtins on Linux
    >
    > This is a CL similar to
    > https://chromium-review.googlesource.com/c/v8/v8/+/3553006, but on Linux
    > rather than macOS. The goal is to allow builtins to use short builtin
    > calls without paying a memory cost, by remapping rather than copying
    > them.
    >
    > However, while macOS has a system call making this easier, on Linux we
    > don't have one on most kernels. There is the recently-introduced
    > mremap(MREMAP_DONTUNMMAP), which is available in 5.7, but only works on
    > anonymous mappings until 5.13, which is too recent for most Android
    > devices.
    >
    > Instead, we open() the file containing the builtins, and mmap() it at
    > the desired location.
    >
    > Change-Id: I4524f349948b8f48c4536cf392a1cd179662a6cc
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3570426
    > Reviewed-by: Igor Sheludko <ishell@chromium.org>
    > Reviewed-by: Jakob Linke <jgruber@chromium.org>
    > Commit-Queue: Benoit Lize <lizeb@chromium.org>
    > Cr-Commit-Position: refs/heads/main@{#80022}
    
    Change-Id: I0093fe84216f8c8fd1a8691c53817e578d92fa40
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3594009
    Auto-Submit: Shu-yu Guo <syg@chromium.org>
    Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
    Commit-Queue: Shu-yu Guo <syg@chromium.org>
    Owners-Override: Shu-yu Guo <syg@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#80028}
    a8b04431
Name
Last commit
Last update
..
embedded Loading commit data...
DEPS Loading commit data...
DIR_METADATA Loading commit data...
OWNERS Loading commit data...
code-serializer.cc Loading commit data...
code-serializer.h Loading commit data...
context-deserializer.cc Loading commit data...
context-deserializer.h Loading commit data...
context-serializer.cc Loading commit data...
context-serializer.h Loading commit data...
deserializer.cc Loading commit data...
deserializer.h Loading commit data...
mksnapshot.cc Loading commit data...
object-deserializer.cc Loading commit data...
object-deserializer.h Loading commit data...
read-only-deserializer.cc Loading commit data...
read-only-deserializer.h Loading commit data...
read-only-serializer.cc Loading commit data...
read-only-serializer.h Loading commit data...
references.h Loading commit data...
roots-serializer.cc Loading commit data...
roots-serializer.h Loading commit data...
serializer-deserializer.cc Loading commit data...
serializer-deserializer.h Loading commit data...
serializer-inl.h Loading commit data...
serializer.cc Loading commit data...
serializer.h Loading commit data...
shared-heap-deserializer.cc Loading commit data...
shared-heap-deserializer.h Loading commit data...
shared-heap-serializer.cc Loading commit data...
shared-heap-serializer.h Loading commit data...
snapshot-compression.cc Loading commit data...
snapshot-compression.h Loading commit data...
snapshot-data.cc Loading commit data...
snapshot-data.h Loading commit data...
snapshot-empty.cc Loading commit data...
snapshot-external.cc Loading commit data...
snapshot-source-sink.cc Loading commit data...
snapshot-source-sink.h Loading commit data...
snapshot-utils.cc Loading commit data...
snapshot-utils.h Loading commit data...
snapshot.cc Loading commit data...
snapshot.h Loading commit data...
startup-deserializer.cc Loading commit data...
startup-deserializer.h Loading commit data...
startup-serializer.cc Loading commit data...
startup-serializer.h Loading commit data...