title: ZGC not supported with OpenJDK 11 and macOS?
body: <p>I'm trying to run a spring boot application with ZGC Garbage Collector, with following JVM options passed in <code>build.gradle</code>:</p>
  
  <pre><code>bootRun {
      jvmArgs = ["-XX:+UnlockExperimentalVMOptions", "-XX:+UseZGC", "-Xlog:gc*"]
  }
  </code></pre>
  
  <p>While running an app (<code>gradle bootRun</code>) I'm getting following error:</p>
  
  <pre><code>&gt; Task :bootRun FAILED
  Error occurred during initialization of VM
  Option -XX:+UseZGC not supported
  </code></pre>
  
  <p>java -version:</p>
  
  <pre><code>openjdk version "11.0.6" 2020-01-14
  OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.6+10)
  OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.6+10, mixed mode)
  </code></pre>
  
  <p>I'm running 10.15.2 (19C57) version of macOS (Catalina) if that helps. Is it only macOS issue?</p>