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

track heap usage #196

Merged
merged 51 commits into from
Jun 16, 2024
Merged

track heap usage #196

merged 51 commits into from
Jun 16, 2024

Conversation

yamt
Copy link
Owner

@yamt yamt commented Jun 13, 2024

todo

  • bitmap.h
  • jump table
  • type annotation
  • cellidxes
  • localchunks
  • resulttype_alloc
  • waitlist
  • functype_to_string (only used by callgraph example)
  • fileio.c
  • struct validation_context
  • add cli options to specify limit
  • adapt dyld
  • host functions. libwasi tables have been adapted. maybe other structures? but it's a bit moot as we can't account host resources (eg libc internal consumption) anyway.
  • adapt examples
  • benchmark the overhead

yamt added 4 commits June 15, 2024 13:01
introduce mem_context to track/limit heap allocations
@yamt yamt marked this pull request as ready for review June 16, 2024 12:16
@yamt yamt changed the title WIP mem context track heap usage Jun 16, 2024
@yamt yamt merged commit 83a249c into master Jun 16, 2024
212 checks passed
@yamt yamt deleted the mem-context branch June 16, 2024 13:44
@yamt yamt mentioned this pull request Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant