Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Skip AutoAssertNoGc checks for applicable signatures - #8807

#8807
Merged
fitzgen merged 1 commit into
bytecodealliance:mainbytecodealliance/wasmtime:mainfrom
alexcrichton:faster-no-gc-callsalexcrichton/wasmtime:faster-no-gc-callsCopy head branch name to clipboard
Jun 14, 2024
Merged

Skip AutoAssertNoGc checks for applicable signatures#8807
fitzgen merged 1 commit into
bytecodealliance:mainbytecodealliance/wasmtime:mainfrom
alexcrichton:faster-no-gc-callsalexcrichton/wasmtime:faster-no-gc-callsCopy head branch name to clipboard

Conversation

@alexcrichton

Copy link
Copy Markdown
Member

This commit skips the safety checks of AutoAssertNoGc for the duration of host calls where the types involved are statically known to not perform any GCs (e.g. integers and floats). This helps recover some performance loss from indirect calls made on entry/exit of an AutoAssertNoGc scope when the gc feature is enabled in Wasmtime.

This is in reference to this discussion

This commit skips the safety checks of `AutoAssertNoGc` for the duration
of host calls where the types involved are statically known to not
perform any GCs (e.g. integers and floats). This helps recover some
performance loss from indirect calls made on entry/exit of an
`AutoAssertNoGc` scope when the `gc` feature is enabled in Wasmtime.
@alexcrichton
alexcrichton requested a review from a team as a code owner June 14, 2024 18:07
@alexcrichton
alexcrichton requested review from pchickey and removed request for a team June 14, 2024 18:07
@fitzgen
fitzgen enabled auto-merge June 14, 2024 18:13
@fitzgen
fitzgen added this pull request to the merge queue Jun 14, 2024
Merged via the queue into bytecodealliance:main with commit 3e0f4b6 Jun 14, 2024
@alexcrichton
alexcrichton deleted the faster-no-gc-calls branch June 14, 2024 18:43
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.