Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wasm] use sbrk instead of emscripten mmap or malloc when loading bytes into heap #100106

Merged
merged 4 commits into from
Apr 9, 2024

Commits on Mar 27, 2024

  1. Add new persistent version of load_bytes_into_heap that uses sbrk to …

    …avoid the overhead of emscripten's mmap
    
    HACK: Use sbrk instead of mmap to allocate wasm pages, to skip memset. Disable vfree.
    Fix build
    Revert mmap experiment
    kg committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    6a72e26 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    44fc458 View commit details
    Browse the repository at this point in the history
  3. Use sbrk instead of mmap for dlmalloc on wasm

    Fix build
    kg committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    6911d37 View commit details
    Browse the repository at this point in the history
  4. Revert "Use sbrk instead of mmap for dlmalloc on wasm"

    This reverts commit 0024b82.
    kg committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    7bd8b46 View commit details
    Browse the repository at this point in the history