WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
180272
WebAssembly: don't set / reset the cached stack limit when not needed
https://bugs.webkit.org/show_bug.cgi?id=180272
Summary
WebAssembly: don't set / reset the cached stack limit when not needed
JF Bastien
Reported
2017-12-01 12:50:24 PST
We currently have a cached stack limit on Instance, and we make sure to carefully set it to UINTPTR_MAX in places to avoid forgetting to reset it, in case an API user migrated the thread we run on. That has a runtime cost after every import call and after every indirect call, and it would be nice to not pay that cost if we know that there's no API caller who could migrate us.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug