You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 24, 2022. It is now read-only.
enable alloc tests for UffdRegion, add new test, fix some things
- Instantiates the suite in `lucet_runtime_internals::alloc::tests` for `UffdRegion
- Fixes early return issues in `UffdRegion` similar to #455
- Adds a test to show that the per-instance heap limit applies to runtime expansions, not just
initial instantiation
- Refactors `validate_runtime_spec` to take the per-instance heap limit as an additional
argument. This centralizes the logic for rejecting initially-oversized heap limits, and makes it
clearer what's happening in each region's instantiation logic.
- Removes the `UffdRegion`'s assertion that signal stack size is a multiple of page size. Since the
user can now control this as a parameter, we reject it gracefully when validating `Limits` rather
than panicking.
0 commit comments