• Bill Budge's avatar
    Revert "[wasm] Lazy update instances on a shared Memory.Grow" · e15bb0b3
    Bill Budge authored
    This reverts commit 80f06d6f.
    
    Reason for revert: failing grow-memory tests
    
    Original change's description:
    > [wasm] Lazy update instances on a shared Memory.Grow
    > 
    >  - Introduce a GROW_SHARED_MEMORY interrupt, and handler
    >  - Memory objects for isolates are updated on a stack check, add
    >    tracking for isolates that hit the stack check
    >  - When enough memory is not reserved ahead of time, fail to grow
    >  - Add tracking for externalized buffers in the MemoryTracker so
    >    that the MemoryTracker will know when backing_stores can be freed.
    >  - For shared buffer, do not always allocate a new buffer when
    >    growing an externalized buffer
    > 
    > 
    > Change-Id: I9cf1be19f2f165fa6ea4096869f7d6365304c8c4
    > Bug: v8:8564
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1472430
    > Commit-Queue: Deepti Gandluri <gdeepti@chromium.org>
    > Reviewed-by: Ben Smith <binji@chromium.org>
    > Reviewed-by: Andreas Haas <ahaas@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#60064}
    
    TBR=binji@chromium.org,titzer@chromium.org,gdeepti@chromium.org,ahaas@chromium.org
    
    Change-Id: I2ed0b59bcbb285b701172b401d606963261d375c
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Bug: v8:8564
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1506355Reviewed-by: 's avatarBill Budge <bbudge@chromium.org>
    Commit-Queue: Bill Budge <bbudge@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#60068}
    e15bb0b3
isolate.cc 168 KB