diff --git a/build.xml b/build.xml
index 186b666..11a98b6 100644
--- a/build.xml
+++ b/build.xml
@@ -53,6 +53,12 @@
          <!--<sysproperty key="clojure.compiler.disable-locals-clearing" value="true"/>-->
       <!-- <sysproperty key="clojure.compile.warn-on-reflection" value="true"/> -->
       <sysproperty key="java.awt.headless" value="true"/>
+      <!-- Found these options in the instructions for JITwatch, here: -->
+      <!-- https://github.com/AdoptOpenJDK/jitwatch/wiki/Instructions -->
+      <!-- <jvmarg value="-XX:+UnlockDiagnosticVMOptions"/> -->
+      <!-- <jvmarg value="-XX:+TraceClassLoading"/> -->
+      <!-- <jvmarg value="-XX:+LogCompilation"/> -->
+      <!-- <jvmarg value="-XX:+PrintAssembly"/> -->
       <arg value="clojure.core"/>
       <arg value="clojure.core.protocols"/>
       <arg value="clojure.main"/>

diff --git a/build.xml b/build.xml
index 186b666..df98bdb 100644
--- a/build.xml
+++ b/build.xml
@@ -53,6 +53,12 @@
          <!--<sysproperty key="clojure.compiler.disable-locals-clearing" value="true"/>-->
       <!-- <sysproperty key="clojure.compile.warn-on-reflection" value="true"/> -->
       <sysproperty key="java.awt.headless" value="true"/>
+      <!-- Found these options in the instructions for JITwatch, here: -->
+      <!-- https://github.com/AdoptOpenJDK/jitwatch/wiki/Instructions -->
+      <jvmarg value="-XX:+UnlockDiagnosticVMOptions"/>
+      <jvmarg value="-XX:+TraceClassLoading"/>
+      <jvmarg value="-XX:+LogCompilation"/>
+      <jvmarg value="-XX:+PrintAssembly"/>
       <arg value="clojure.core"/>
       <arg value="clojure.core.protocols"/>
       <arg value="clojure.main"/>

Patch for Clojure's build.xml to pass extra JVM args for compile-clojure
Patch for Clojure's build.xml to pass extra JVM args for compile-clojure
