Explicitly name garbage collection strategies.

Fix switch statement to allow ``-XX:+UseParallelOldGC`` to be specified.