[wasm] add a total wasm bytes quota to the jiterpreter; adjust parameters (#80266)
authorKatelyn Gadd <kg@luminance.org>
Fri, 6 Jan 2023 22:18:22 +0000 (14:18 -0800)
committerGitHub <noreply@github.com>
Fri, 6 Jan 2023 22:18:22 +0000 (14:18 -0800)
commit9f515ff1dc95f8174f4ea3e7bbb69693ac37e39c
tree06c5e33c4cbe813c3b26037298233eb319c293a0
parent7f8376592895026f94f77c58ef463c37e775b1b9
[wasm] add a total wasm bytes quota to the jiterpreter; adjust parameters (#80266)

* Adjust jiterpreter parameters to avoid making S.T.J AOT tests slower
* Add a total wasm bytes quota to the jiterpreter to avoid generating way too much code in degenerate cases
src/mono/mono/utils/options-def.h
src/mono/wasm/runtime/jiterpreter-interp-entry.ts
src/mono/wasm/runtime/jiterpreter-jit-call.ts
src/mono/wasm/runtime/jiterpreter-support.ts
src/mono/wasm/runtime/jiterpreter.ts