Optimize GC for high throughput (#189)

https://docs.oracle.com/en/java/javase/11/gctuning/available-collectors.html#GUID-414C9D95-297E-4EE3-B0D9-36F158A83393
diff --git a/driver/jvm_tooling.cpp b/driver/jvm_tooling.cpp
index e90519f..98b5fd7 100644
--- a/driver/jvm_tooling.cpp
+++ b/driver/jvm_tooling.cpp
@@ -234,6 +234,8 @@
   // This may hurt performance, but also helps find flaky bugs.
   options.push_back(
       JavaVMOption{.optionString = (char *)"-XX:-OmitStackTraceInFastThrow"});
+  // Optimize GC for high throughput rather than low latency.
+  options.push_back(JavaVMOption{.optionString = (char *)"-XX:+UseParallelGC"});
 
   // add additional jvm options set through command line flags
   std::vector<std::string> jvm_args;