Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

reduction of wavm memory usage #7171

Merged
merged 3 commits into from
Apr 24, 2019
Merged

reduction of wavm memory usage #7171

merged 3 commits into from
Apr 24, 2019

Commits on Apr 19, 2019

  1. Remove generation of debug info from WAVM code generation

    generation of debug info consumes a massive amount of memory and quite a bit of it seems to get lodged in the global llvmcontext meaning it becomes a leak in the current design of wavm. Removing this as we don't need it
    spoonincode committed Apr 19, 2019
    Configuration menu
    Copy the full SHA
    c491c18 View commit details
    Browse the repository at this point in the history
  2. don't hold on to wavm Module object any longer than needed

    After creating a ModuleInstance from a Module, we really don't need to hold on to the Module any longer. It's a memory sink. Refactor the one instance we needed the Module and free it after that
    spoonincode committed Apr 19, 2019
    Configuration menu
    Copy the full SHA
    093bdaf View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2019

  1. replace subscript lookup in wavm support code with at()

    this lookup should be well protected; but no complaints to protect it further it's not a hot path or anything
    spoonincode committed Apr 22, 2019
    Configuration menu
    Copy the full SHA
    62ebdb8 View commit details
    Browse the repository at this point in the history