Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save JohnTortugo/80b55c549dc2484537cf25d02e8478b6 to your computer and use it in GitHub Desktop.
Save JohnTortugo/80b55c549dc2484537cf25d02e8478b6 to your computer and use it in GitHub Desktop.
Compile & Run Java Test using WhiteBox & TestLib
/wf/tortugo-master/build/linux-x86_64-server-fastdebug/jdk/bin/javac -cp build/linux-x86_64-server-fastdebug/support/test/lib/test-lib.jar:/wf/tortugo-master/build/linux-x86_64-server-fastdebug/support/test/lib/wb_classes/ TestMethodEvictionAndProfiling.java
/wf/tortugo-master/build/linux-x86_64-server-fastdebug/jdk/bin/java \
-Xbootclasspath/a:/wf/tortugo-master/build/linux-x86_64-server-fastdebug/support/test/lib/wb_classes/ \
-cp .:/wf/tortugo-master/build/linux-x86_64-server-fastdebug/support/test/lib/test-lib.jar \
-XX:+UnlockDiagnosticVMOptions \
-XX:+WhiteBoxAPI \
-Xbatch \
-XX:+SegmentedCodeCache \
-XX:+UseG1GC \
-XX:+PrintTieredEvents \
-Xlog:codecache=debug \
-XX:ReservedCodeCacheSize=10m \
-XX:CompileCommand=PrintCompilation,*TestMethodEvictionAndProfiling::* \
TestMethodEvictionAndProfiling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment