Description[wasm] Fix WasmInstanceWrapper allocation.
In the current implementation, WasmInstanceWrapper is allocated after the imports for the instance are processed, and before the InstanceFinalizer callback is associated with the instance. This raises the possibility of triggering a gc in the middle of the instantiate flow which is incorrect.
BUG=5707
R=titzer@chromium.org, petermarshall@chromium.org
Committed: https://crrev.com/6454102c5b68caa13411ca0d07e915444fd90eec
Cr-Commit-Position: refs/heads/master@{#41464}
Patch Set 1 #Patch Set 2 : Add test #Patch Set 3 : rename test #
Messages
Total messages: 16 (10 generated)
|