Reviewed-by: iwalulya, tschatzl
Reviewed-by: tschatzl, ayang
Reviewed-by: lmesnik, dholmes
Factor out multiple attempts at forcing a mixed gc into a single one and update the tests to use the new code. Change command line arguments for the tests to further decrease the possibility of failures. Reviewed-by: lkorinth, kbarrett