alexcrichton opened PR #12761 from alexcrichton:limit-p3-resource-table to bytecodealliance:main:
This commit adds a new
Store::concurrent_resource_tablemethod which enables getting a handle to the underlyingResourceTableused by the concurrent implementation of component-model-async. This can in turn be used to set the max capacity on the table and limit the guest usage of the table.Closes #11552
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested dicej for a review on PR #12761.
alexcrichton requested wasmtime-core-reviewers for a review on PR #12761.
alexcrichton updated PR #12761.
alexcrichton updated PR #12761.
pchickey commented on PR #12761:
Unrelated to this specific PR, but I missed when the ResourceTable got put into the Store. Cool that it finally happened!
alexcrichton edited PR #12761:
This commit adds a new
Store::concurrent_resource_tablemethod which enables getting a handle to the underlyingResourceTableused by the concurrent implementation of component-model-async. This can in turn be used to set the max capacity on the table and limit the guest usage of the table.Closes #11552
cc #12674
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
dicej submitted PR review.
alexcrichton added PR #12761 Enable limiting wasip3 resource limits to the merge queue.
alexcrichton merged PR #12761.
alexcrichton removed PR #12761 Enable limiting wasip3 resource limits from the merge queue.
Last updated: Mar 23 2026 at 16:19 UTC