After https://github.com/bytecodealliance/wasmtime/pull/8809, the mutator cannot resume from a trap so we don't need to consider them safepoints, as no GC-managed references are live after the trap. The one exception being the debugtrap CLIF instruction, which is technically still a resumable trap, but which exists only for emitting the equivalent of an int3 breakpoint instruction for pausing in a debugger to inspect state, and should never be used for mutator-collector interactions.
After https://github.com/bytecodealliance/wasmtime/pull/8809, the mutator cannot resume from a trap so we don't need to consider them safepoints, as no GC-managed references are live after the trap. The one exception being the
debugtrap
CLIF instruction, which is technically still a resumable trap, but which exists only for emitting the equivalent of anint3
breakpoint instruction for pausing in a debugger to inspect state, and should never be used for mutator-collector interactions.