The effectiveness of direct helium gas injection into the flowing mercury of the Spallation Neutron Source target module to suppress cavitation-induced erosion was characterized using mock-up visual flow experiments, in situ strain measurements, and post-irradiation examination of targets after operation. The gas bubble size distribution in the target was simulated and measured experimentally using visual mock-ups of the target, and the target design was altered to inject gas into the bulk mercury flow near the region of peak energy deposition. During direct gas injection in the visual target experiments, twin vortices were observed that extended from the inner wall down the return passageway. In situ vessel strain measurements during proton pulses with different gas injection conditions showed direct gas injection at the front of the target decreased vessel strain near the inner wall. Photographs and laser line scan measurements of the erosion damage to samples removed from the front of targets after operation showed an appreciable decrease in erosion damage for targets operated with consistent direct gas injection. The results shown here provide evidence that direct injection of large gas bubbles can effectively mitigate cavitation-induced erosion damage and reduce vessel strain near the injection location in pulsed liquid-metal spallation targets.