I'd take the Glock.
Even though I own a S&W revolver and a Colt 1911, the only sidearm I would take to war is a Glock.
I remember this time at the range, my rental Glock 34 was jammed due to a magazine malfunction.
I asked one of the employees to help me fix the problem, and all he did was retract the slide, empty the chamber, pull out the magazine, and slam the bottom of the magazine against the floor.
The malfunction was caused by lack of cleaning after thousands of rounds.
I personally don't think any other guns I listed can pull that off AND offer me 17 + 1 rounds of 9mm.